Skip to content

Commit

Permalink
Fixed cut-and-paste error.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jun 11, 2011
1 parent 4e17d25 commit c1fc05c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion theoraplay.c
Expand Up @@ -257,7 +257,7 @@ static void WorkerThread(TheoraDecoder *ctx)

// I bet this beats the crap out of the CPU cache...
samples = item->samples;
for (frameidx = 0; frameidx < channels; frameidx++)
for (frameidx = 0; frameidx < frames; frameidx++)
{
for (chanidx = 0; chanidx < channels; chanidx++)
*(samples++) = pcm[chanidx][frameidx];
Expand Down

0 comments on commit c1fc05c

Please sign in to comment.