avcodec/cavsdec: reset stc
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 5 Dec 2013 01:16:59 +0000 (02:16 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 5 Dec 2013 01:16:59 +0000 (02:16 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/cavsdec.c

index 74983a7..3005870 100644 (file)
@@ -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(;;) {