Commit 286153ea authored by Clément Bœsch's avatar Clément Bœsch

lavfi/alphaextract: fix frame memleak.

parent f566ac48
......@@ -98,7 +98,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *cur_buf)
ret = ff_filter_frame(outlink, out_buf);
end:
av_frame_unref(cur_buf);
av_frame_free(&cur_buf);
return ret;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment