[FFmpeg-devel] [PATCH 1/5] lavc/avrndec: remove AV_CODEC_CAP_DR1, as it's broken
wm4
nfxjfg at googlemail.com
Fri Oct 13 19:59:15 EEST 2017
In the is_mjpeg case, the user's get_buffer2 callback is not called,
thus completely breaking the API.
---
libavcodec/avrndec.c | 1 -
1 file changed, 1 deletion(-)
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,
};
--
2.14.1
More information about the ffmpeg-devel
mailing list