aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-21 23:00:20 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-21 23:15:12 +0100
commit78526c279fddc9f497e65ef937783e7c8519102e (patch)
tree22b6e04beb1381b456e21a52eb3dcc42b7b99eeb /libavfilter
parent5ee483ae62663361833d70263cd4d626ba280452 (diff)
downloadffmpeg-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>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/avf_showwaves.c1
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);