diff options
author | wm4 <nfxjfg@googlemail.com> | 2017-10-13 18:59:15 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-10-29 21:25:49 -0300 |
commit | 195dd5c59c89b125b89078c736ae107bcaf23b37 (patch) | |
tree | 5cdeba03ca522aa1a846ffcdcd3697f00169011b /libavcodec/avrndec.c | |
parent | 59ad504696958fbd9db7b478b4b7e0a2b436b7f2 (diff) | |
download | ffmpeg-195dd5c59c89b125b89078c736ae107bcaf23b37.tar.gz |
lavc/avrndec: remove AV_CODEC_CAP_DR1, as it's broken
In the is_mjpeg case, the user's get_buffer2 callback is not called,
thus completely breaking the API.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/avrndec.c')
-rw-r--r-- | libavcodec/avrndec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/avrndec.c b/libavcodec/avrndec.c index c37f99661b..104ff2d904 100644 --- a/libavcodec/avrndec.c +++ b/libavcodec/avrndec.c @@ -168,7 +168,6 @@ AVCodec ff_avrn_decoder = { .init = init, .close = end, .decode = decode_frame, - .capabilities = AV_CODEC_CAP_DR1, .max_lowres = 3, .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; |