summaryrefslogtreecommitdiff
path: root/libavcodec/cavsdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-12-05 02:16:59 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-12-05 02:16:59 +0100
commit63f74cedc9c749cba33b4ce2aa7c164da38edd3e (patch)
treedd55f0f4aeec658c60c60ad415db51e6440a917e /libavcodec/cavsdec.c
parent0538b29ae8002c44f27bae8a1a6fc6e646998be5 (diff)
avcodec/cavsdec: reset stc
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/cavsdec.c')
-rw-r--r--libavcodec/cavsdec.c2
1 files changed, 2 insertions, 0 deletions
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(;;) {