Module: libav
Branch: release/0.7
Commit: e39fc137aeace9420690c264067c37ff516b4743

Author:    Kostya Shishkov <[email protected]>
Committer: Reinhard Tartler <[email protected]>
Date:      Thu Sep 27 19:25:06 2012 +0200

vc1dec: add flush function for WMV9 and VC-1 decoders

CC: [email protected]
(cherry picked from commit 4dc8c8386eef942dba35c4f2fb3210e22b511a5b)

Signed-off-by: Anton Khirnov <[email protected]>

---

 libavcodec/vc1dec.c |    6 ++++--
 1 files 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
 

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to