diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-06-05 12:53:39 +0400 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-06-05 12:53:39 +0400 |
commit | 35b2c6575685ae6cffd965e4d26b011d9c3f1268 (patch) | |
tree | b4b851a57953ed45a68a8a4dd4981c7aa3c62b19 /libavcodec/vc1.c | |
parent | c0bd35c70c23202971117ee71c98511e6edd5a75 (diff) |
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
Diffstat (limited to 'libavcodec/vc1.c')
-rw-r--r-- | libavcodec/vc1.c | 4 |
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 |