On Mon, Sep 16, 2013 at 10:06:18PM +0300, Martin Storsjö wrote:
> --- a/libavcodec/rv34.c
> +++ b/libavcodec/rv34.c
> @@ -1495,8 +1495,10 @@ av_cold int ff_rv34_decode_init(AVCodecContext *avctx)
>  
> -    if ((ret = rv34_decoder_alloc(r)) < 0)
> +    if ((ret = rv34_decoder_alloc(r)) < 0) {
> +        ff_MPV_common_end(&r->s);
>          return ret;
> +    }

Don't you have to do the same thing on line 1520?

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

Reply via email to