[FFmpeg-cvslog] vc1dec: add flush function for WMV9 and VC-1 decoders
Kostya Shishkov
git at videolan.org
Mon Feb 18 01:09:39 CET 2013
ffmpeg | branch: release/0.7 | Kostya Shishkov <kostya.shishkov at gmail.com> | Thu Sep 27 19:25:06 2012 +0200| [0173a7966b331105158a88f96b9afcc431d2fef8] | committer: Anton Khirnov
vc1dec: add flush function for WMV9 and VC-1 decoders
CC: libav-stable at libav.org
(cherry picked from commit 4dc8c8386eef942dba35c4f2fb3210e22b511a5b)
Signed-off-by: Anton Khirnov <anton at khirnov.net>
(cherry picked from commit 02b72394627933dc8ce26445231a69f00dba491b)
Conflicts:
libavcodec/vc1dec.c
Signed-off-by: Anton Khirnov <anton at khirnov.net>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0173a7966b331105158a88f96b9afcc431d2fef8
---
libavcodec/vc1dec.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index c87558b..1474e9f 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)
More information about the ffmpeg-cvslog
mailing list