avformat/oggdec: reset end_trimming in ogg_reset()

Fixes the output when seeking back to the start

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Dale Curtis 2013-12-12 05:31:43 +01:00 committed by Michael Niedermayer
parent 3efe5e3b09
commit 9c0dd7b462

View File

@ -142,6 +142,7 @@ static int ogg_reset(AVFormatContext *s)
if (start_pos <= s->data_offset) {
os->lastpts = 0;
}
os->end_trimming = 0;
}
ogg->page_pos = -1;