vf_hqdn3d: 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 887d31d455
commit d0a863ac89
1 changed files with 1 additions and 0 deletions

View File

@ -316,6 +316,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);