Browse Source

oggdec: fix Ticket185

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.8
Michael Niedermayer 14 years ago
parent
commit
49125aeddc
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavformat/oggdec.c

+ 2
- 0
libavformat/oggdec.c View File

@@ -410,6 +410,8 @@ static int ogg_packet(AVFormatContext *s, int *str, int *dstart, int *dsize,
*fpos = os->sync_pos;
os->pstart += os->psize;
os->psize = 0;
if(os->pstart == os->bufpos)
os->bufpos = os->pstart = 0;
os->sync_pos = os->page_pos;
}



Loading…
Cancel
Save