mirror of https://git.ffmpeg.org/ffmpeg.git
lavfi/alphaextract: fix frame memleak.
This commit is contained in:
parent
f566ac48ce
commit
286153ea48
|
@ -98,7 +98,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *cur_buf)
|
||||||
ret = ff_filter_frame(outlink, out_buf);
|
ret = ff_filter_frame(outlink, out_buf);
|
||||||
|
|
||||||
end:
|
end:
|
||||||
av_frame_unref(cur_buf);
|
av_frame_free(&cur_buf);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue