mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
vf_pixdesctest: make config_props work properly when called multiple times.
This commit is contained in:
parent
3ba35a346c
commit
16a645adeb
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user