Commit 9c0dd7b4 authored by Dale Curtis's avatar Dale Curtis Committed by Michael Niedermayer

avformat/oggdec: reset end_trimming in ogg_reset()

Fixes the output when seeking back to the start
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 3efe5e3b
...@@ -142,6 +142,7 @@ static int ogg_reset(AVFormatContext *s) ...@@ -142,6 +142,7 @@ static int ogg_reset(AVFormatContext *s)
if (start_pos <= s->data_offset) { if (start_pos <= s->data_offset) {
os->lastpts = 0; os->lastpts = 0;
} }
os->end_trimming = 0;
} }
ogg->page_pos = -1; ogg->page_pos = -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment