[FFmpeg-devel] [PATCH] avcodec/vp9: Add tile threading support

Ronald S. Bultje rsbultje at gmail.com
Thu Aug 24 02:39:53 EEST 2017


Hi,

On Tue, Aug 22, 2017 at 7:59 PM, Ilia Valiakhmetov <zakne0ne at gmail.com>
wrote:

> +        if (s->td)
> +            av_free(s->td);
> +
> +        s->td = av_mallocz_array(s->s.h.tiling.tile_cols,
> sizeof(VP9TileData));


The free() leaks s->td[*].b/block_base if they were already allocated.

Ronald


More information about the ffmpeg-devel mailing list