From 63f74cedc9c749cba33b4ce2aa7c164da38edd3e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 5 Dec 2013 02:16:59 +0100 Subject: [PATCH] avcodec/cavsdec: reset stc Signed-off-by: Michael Niedermayer --- libavcodec/cavsdec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/cavsdec.c b/libavcodec/cavsdec.c index 74983a75a9..3005870333 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(;;) {