diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-12-05 02:16:59 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-12-05 02:16:59 +0100 |
commit | 63f74cedc9c749cba33b4ce2aa7c164da38edd3e (patch) | |
tree | dd55f0f4aeec658c60c60ad415db51e6440a917e | |
parent | 0538b29ae8002c44f27bae8a1a6fc6e646998be5 (diff) | |
download | ffmpeg-63f74cedc9c749cba33b4ce2aa7c164da38edd3e.tar.gz |
avcodec/cavsdec: reset stc
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/cavsdec.c | 2 |
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(;;) { |