diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-21 23:00:20 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-21 23:15:12 +0100 |
commit | 78526c279fddc9f497e65ef937783e7c8519102e (patch) | |
tree | 22b6e04beb1381b456e21a52eb3dcc42b7b99eeb | |
parent | 5ee483ae62663361833d70263cd4d626ba280452 (diff) | |
download | ffmpeg-78526c279fddc9f497e65ef937783e7c8519102e.tar.gz |
avf_showwaves: fix null pointer dereference
Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit e4eebc2da9da886e1bdf87d29e9a4c5b55111036)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavfilter/avf_showwaves.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/avf_showwaves.c b/libavfilter/avf_showwaves.c index dcbe8b8a61..81ee74d066 100644 --- a/libavfilter/avf_showwaves.c +++ b/libavfilter/avf_showwaves.c @@ -220,6 +220,7 @@ static int filter_samples(AVFilterLink *inlink, AVFilterBufferRef *insamples) } if (showwaves->buf_idx == showwaves->w) push_frame(outlink); + outpicref = showwaves->outpicref; } avfilter_unref_buffer(insamples); |