[FFmpeg-cvslog] avf_showwaves: fix null pointer dereference

Michael Niedermayer git at videolan.org
Mon Jan 21 23:06:32 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jan 21 23:00:20 2013 +0100| [e4eebc2da9da886e1bdf87d29e9a4c5b55111036] | committer: Michael Niedermayer

avf_showwaves: fix null pointer dereference

Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

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

diff --git a/libavfilter/avf_showwaves.c b/libavfilter/avf_showwaves.c
index 30a8e1e..3e5f39f 100644
--- a/libavfilter/avf_showwaves.c
+++ b/libavfilter/avf_showwaves.c
@@ -220,6 +220,7 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *insamples)
         }
         if (showwaves->buf_idx == showwaves->w)
             push_frame(outlink);
+        outpicref = showwaves->outpicref;
     }
 
     avfilter_unref_buffer(insamples);



More information about the ffmpeg-cvslog mailing list