[FFmpeg-cvslog] lavc/avrndec: remove AV_CODEC_CAP_DR1, as it's broken

wm4 git at videolan.org
Mon Oct 30 02:29:24 EET 2017


ffmpeg | branch: master | wm4 <nfxjfg at googlemail.com> | Fri Oct 13 18:59:15 2017 +0200| [195dd5c59c89b125b89078c736ae107bcaf23b37] | committer: James Almer

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 at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=195dd5c59c89b125b89078c736ae107bcaf23b37
---

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



More information about the ffmpeg-cvslog mailing list