diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-02-28 08:47:21 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-03-11 18:28:34 +0100 |
commit | 887d31d455915b6bde6814063384dafdee61164c (patch) | |
tree | 6ca1e6af9ec07cd85458fdb5769e90705cc54e52 /libavfilter | |
parent | c2597c5a0a08526493abb9bc9544b61a290fe20f (diff) | |
download | ffmpeg-887d31d455915b6bde6814063384dafdee61164c.tar.gz |
vf_gradfun: fix uninitialized variable use
CC:libav-stable@libav.org
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_gradfun.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_gradfun.c b/libavfilter/vf_gradfun.c index 05412cffcc..ca7ef69144 100644 --- a/libavfilter/vf_gradfun.c +++ b/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); |