diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c index a099eb382e..78cfbd6af5 100644 --- a/libavformat/oggdec.c +++ b/libavformat/oggdec.c @@ -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;