summaryrefslogtreecommitdiff
path: root/libavcodec/avrndec.c
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2017-10-13 18:59:15 +0200
committerJames Almer <jamrial@gmail.com>2017-10-29 21:25:49 -0300
commit195dd5c59c89b125b89078c736ae107bcaf23b37 (patch)
tree5cdeba03ca522aa1a846ffcdcd3697f00169011b /libavcodec/avrndec.c
parent59ad504696958fbd9db7b478b4b7e0a2b436b7f2 (diff)
downloadffmpeg-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.c1
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,
};