[FFmpeg-devel] [PATCH 1/5] lavc/avrndec: remove AV_CODEC_CAP_DR1, as it's broken

James Almer jamrial at gmail.com
Mon Oct 30 02:30:34 EET 2017


On 10/13/2017 1:59 PM, wm4 wrote:
> 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,
>  };

Applied this since it's not part of the currently-blocked stuff.


More information about the ffmpeg-devel mailing list