vf_gradfun: fix uninitialized variable use

CC:libav-stable@libav.org
pull/12/merge
Anton Khirnov 12 years ago
parent c2597c5a0a
commit 887d31d455
  1. 1
      libavfilter/vf_gradfun.c

@ -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);

Loading…
Cancel
Save