Skip to content

Commit

Permalink
Make sure we report available audio correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jun 24, 2011
1 parent ebdc7ce commit c2160a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions theoraplay.c
Expand Up @@ -687,6 +687,7 @@ const THEORAPLAY_AudioPacket *THEORAPLAY_getAudio(THEORAPLAY_Decoder *decoder)
retval = ctx->audiolist;
if (retval)
{
ctx->audioms -= retval->playms;
ctx->audiolist = retval->next;
retval->next = NULL;
if (ctx->audiolist == NULL)
Expand Down

0 comments on commit c2160a8

Please sign in to comment.