[FFmpeg-cvslog] vf_hqdn3d: fix uninitialized variable use

Anton Khirnov git at videolan.org
Mon Mar 18 03:10:32 CET 2013


ffmpeg | branch: release/1.1 | Anton Khirnov <anton at khirnov.net> | Thu Feb 28 08:47:21 2013 +0100| [c50241080d7599c90fc8b4e74c5f8d62a4caae52] | committer: Reinhard Tartler

vf_hqdn3d: fix uninitialized variable use

CC:libav-stable at libav.org
(cherry picked from commit d0a863ac891eae49ceaa4de7f759270bc87e668d)

Conflicts:

	libavfilter/vf_hqdn3d.c

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c50241080d7599c90fc8b4e74c5f8d62a4caae52
---

 libavfilter/vf_hqdn3d.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/vf_hqdn3d.c b/libavfilter/vf_hqdn3d.c
index 085900f..30f7817 100644
--- a/libavfilter/vf_hqdn3d.c
+++ b/libavfilter/vf_hqdn3d.c
@@ -333,6 +333,7 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *in)
         direct = 1;
         out = in;
     } else {
+        direct = 0;
         out = ff_get_video_buffer(outlink, AV_PERM_WRITE, outlink->w, outlink->h);
         if (!out) {
             avfilter_unref_bufferp(&in);



More information about the ffmpeg-cvslog mailing list