1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

vf_gradfun: fix uninitialized variable use

CC:libav-stable@libav.org
This commit is contained in:
Anton Khirnov 2013-02-28 08:47:21 +01:00
parent c2597c5a0a
commit 887d31d455

View File

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