[FFmpeg-cvslog] avcodec/cavsdec: reset stc

Michael Niedermayer git at videolan.org
Thu Dec 5 02:30:49 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Dec  5 02:16:59 2013 +0100| [63f74cedc9c749cba33b4ce2aa7c164da38edd3e] | committer: Michael Niedermayer

avcodec/cavsdec: reset stc

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

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

 libavcodec/cavsdec.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/cavsdec.c b/libavcodec/cavsdec.c
index 74983a7..3005870 100644
--- a/libavcodec/cavsdec.c
+++ b/libavcodec/cavsdec.c
@@ -1161,6 +1161,8 @@ static int cavs_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
         return 0;
     }
 
+    h->stc = 0;
+
     buf_ptr = buf;
     buf_end = buf + buf_size;
     for(;;) {



More information about the ffmpeg-cvslog mailing list