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:00:20 +0100 |
commit | e4eebc2da9da886e1bdf87d29e9a4c5b55111036 (patch) | |
tree | f2345143ecb8e52844819f01d381020757c35cb8 /libavfilter | |
parent | 03a82d588b74b738563dc6709ff00011529ad407 (diff) | |
download | ffmpeg-e4eebc2da9da886e1bdf87d29e9a4c5b55111036.tar.gz |
avf_showwaves: fix null pointer dereference
Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-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 30a8e1e62f..3e5f39f3c9 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); |