diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2012-09-27 19:25:06 +0200 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2012-09-28 07:08:54 +0200 |
commit | 4dc8c8386eef942dba35c4f2fb3210e22b511a5b (patch) | |
tree | ce4b3bcc3156a3135b168cac80352a161f30cecc /libavcodec/vc1dec.c | |
parent | 8bd324e9e4b8ceb4d0fff7ebe3c56372949be759 (diff) | |
download | ffmpeg-4dc8c8386eef942dba35c4f2fb3210e22b511a5b.tar.gz |
vc1dec: add flush function for WMV9 and VC-1 decoders
CC: libav-stable@libav.org
Diffstat (limited to 'libavcodec/vc1dec.c')
-rw-r--r-- | libavcodec/vc1dec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index 6b2662e8f4..986e4adc5e 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -5686,6 +5686,7 @@ AVCodec ff_vc1_decoder = { .init = vc1_decode_init, .close = ff_vc1_decode_end, .decode = vc1_decode_frame, + .flush = ff_mpeg_flush, .capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY, .long_name = NULL_IF_CONFIG_SMALL("SMPTE VC-1"), .pix_fmts = ff_hwaccel_pixfmt_list_420, @@ -5701,6 +5702,7 @@ AVCodec ff_wmv3_decoder = { .init = vc1_decode_init, .close = ff_vc1_decode_end, .decode = vc1_decode_frame, + .flush = ff_mpeg_flush, .capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY, .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9"), .pix_fmts = ff_hwaccel_pixfmt_list_420, |