Commit 887d31d4 authored by Anton Khirnov's avatar Anton Khirnov

vf_gradfun: fix uninitialized variable use

CC:libav-stable@libav.org
parent c2597c5a
......@@ -193,6 +193,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
direct = 1;
out = in;
} else {
direct = 0;
out = ff_get_video_buffer(outlink, outlink->w, outlink->h);
if (!out) {
av_frame_free(&in);
......
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