[FFmpeg-cvslog] avformat/oggdec: reset end_trimming in ogg_reset()

Dale Curtis git at videolan.org
Thu Dec 12 05:46:36 CET 2013


ffmpeg | branch: master | Dale Curtis <dalecurtis at google.com> | Thu Dec 12 05:31:43 2013 +0100| [9c0dd7b462303169c40ce22540f11b5b9c5110f3] | committer: Michael Niedermayer

avformat/oggdec: reset end_trimming in ogg_reset()

Fixes the output when seeking back to the start

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9c0dd7b462303169c40ce22540f11b5b9c5110f3
---

 libavformat/oggdec.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c
index a099eb3..78cfbd6 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;



More information about the ffmpeg-cvslog mailing list