Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-22 02:00:20 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-01-22 02:00:20 +0400
commite4eebc2da9da886e1bdf87d29e9a4c5b55111036 (patch)
treef2345143ecb8e52844819f01d381020757c35cb8 /libavfilter/avf_showwaves.c
parent03a82d588b74b738563dc6709ff00011529ad407 (diff)
avf_showwaves: fix null pointer dereference
Found-by: durandal_1707 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/avf_showwaves.c')
-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 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);