diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2012-09-27 19:25:06 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-10-06 09:40:46 +0200 |
commit | 0173a7966b331105158a88f96b9afcc431d2fef8 (patch) | |
tree | e3def94ea348500bcd0deb6581c0101e5eb2f991 | |
parent | a60eb6ef12df472554e93916aaeae729b0c8db03 (diff) | |
download | ffmpeg-0173a7966b331105158a88f96b9afcc431d2fef8.tar.gz |
vc1dec: add flush function for WMV9 and VC-1 decoders
CC: libav-stable@libav.org
(cherry picked from commit 4dc8c8386eef942dba35c4f2fb3210e22b511a5b)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
(cherry picked from commit 02b72394627933dc8ce26445231a69f00dba491b)
Conflicts:
libavcodec/vc1dec.c
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-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 c87558bc50..1474e9fedd 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -3831,6 +3831,7 @@ AVCodec ff_vc1_decoder = { vc1_decode_frame, CODEC_CAP_DR1 | CODEC_CAP_DELAY, NULL, + .flush = ff_mpeg_flush, .long_name = NULL_IF_CONFIG_SMALL("SMPTE VC-1"), .pix_fmts = ff_hwaccel_pixfmt_list_420, .profiles = NULL_IF_CONFIG_SMALL(profiles) @@ -3848,6 +3849,7 @@ AVCodec ff_wmv3_decoder = { vc1_decode_frame, CODEC_CAP_DR1 | CODEC_CAP_DELAY, NULL, + .flush = ff_mpeg_flush, .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9"), .pix_fmts = ff_hwaccel_pixfmt_list_420, .profiles = NULL_IF_CONFIG_SMALL(profiles) |