aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-06-05 08:53:39 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-06-05 08:53:39 +0000
commit35b2c6575685ae6cffd965e4d26b011d9c3f1268 (patch)
treeb4b851a57953ed45a68a8a4dd4981c7aa3c62b19
parentc0bd35c70c23202971117ee71c98511e6edd5a75 (diff)
downloadffmpeg-35b2c6575685ae6cffd965e4d26b011d9c3f1268.tar.gz
vc1 and wmv3 decoders use MPV_frame_start which uses get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19111 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/vc1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index acddeb9091..159ed9c3ce 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -4272,7 +4272,7 @@ AVCodec vc1_decoder = {
NULL,
vc1_decode_end,
vc1_decode_frame,
- CODEC_CAP_DELAY,
+ CODEC_CAP_DR1 | CODEC_CAP_DELAY,
NULL,
.long_name = NULL_IF_CONFIG_SMALL("SMPTE VC-1"),
.pix_fmts = ff_hwaccel_pixfmt_list_420
@@ -4287,7 +4287,7 @@ AVCodec wmv3_decoder = {
NULL,
vc1_decode_end,
vc1_decode_frame,
- CODEC_CAP_DELAY,
+ CODEC_CAP_DR1 | CODEC_CAP_DELAY,
NULL,
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9"),
.pix_fmts = ff_hwaccel_pixfmt_list_420