On Fri, Apr 24, 2015 at 04:59:33PM +0100, Vittorio Giovara wrote:
> Fixes a memory leak on error init.

on init failure.

> --- a/libavcodec/jpeglsenc.c
> +++ b/libavcodec/jpeglsenc.c
> @@ -452,4 +452,6 @@ AVCodec ff_jpegls_encoder = {
>          AV_PIX_FMT_GRAY8, AV_PIX_FMT_GRAY16,
>          AV_PIX_FMT_NONE
>      },
> +    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
> +                      FF_CODEC_CAP_INIT_CLEANUP,

gcc should be shouting at you for confusing ',' and '|'.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to