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>
This commit is contained in:
wm4 2017-10-13 18:59:15 +02:00 committed by James Almer
parent 59ad504696
commit 195dd5c59c
1 changed files with 0 additions and 1 deletions

View File

@ -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,
};