1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

vf_pixdesctest: make config_props work properly when called multiple times.

This commit is contained in:
Anton Khirnov 2013-03-18 21:31:54 +01:00
parent 3ba35a346c
commit 16a645adeb

View File

@ -46,6 +46,7 @@ static int config_props(AVFilterLink *inlink)
priv->pix_desc = av_pix_fmt_desc_get(inlink->format);
av_freep(&priv->line);
if (!(priv->line = av_malloc(sizeof(*priv->line) * inlink->w)))
return AVERROR(ENOMEM);