On Mon, Apr 20, 2015 at 12:58 PM, Diego Biurrun <[email protected]> wrote:
> Bug-Id: CID 1295124
> ---
>  libavcodec/ffv1.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
> index 689cd32..0836d42 100644
> --- a/libavcodec/ffv1.c
> +++ b/libavcodec/ffv1.c
> @@ -226,8 +226,8 @@ av_cold int ffv1_init_slice_contexts(FFV1Context *f)
>
>  memfail:
>      for (j = 0; j < i; j++) {
> -        av_free(&f->slice_context[j]->sample_buffer);
> -        av_free(&f->slice_context[j]);
> +        av_free(f->slice_context[j]->sample_buffer);
> +        av_free(f->slice_context[j]);

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

Reply via email to