[FFmpeg-cvslog] vc1dec: add flush function for WMV9 and VC-1 decoders

Kostya Shishkov git at videolan.org
Thu Jan 17 03:00:19 CET 2013


ffmpeg | branch: release/0.8 | Kostya Shishkov <kostya.shishkov at gmail.com> | Thu Sep 27 19:25:06 2012 +0200| [e39fc137aeace9420690c264067c37ff516b4743] | committer: Reinhard Tartler

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>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e39fc137aeace9420690c264067c37ff516b4743
---

 libavcodec/vc1dec.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index 1474e9f..34bf04f 100644
--- a/libavcodec/vc1dec.c
+++ b/libavcodec/vc1dec.c
@@ -3834,7 +3834,8 @@ AVCodec ff_vc1_decoder = {
     .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)
+    .profiles = NULL_IF_CONFIG_SMALL(profiles),
+    .flush = ff_mpeg_flush,
 };
 
 #if CONFIG_WMV3_DECODER
@@ -3852,7 +3853,8 @@ AVCodec ff_wmv3_decoder = {
     .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)
+    .profiles = NULL_IF_CONFIG_SMALL(profiles),
+    .flush = ff_mpeg_flush,
 };
 #endif
 



More information about the ffmpeg-cvslog mailing list