1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

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

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