mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-18 04:50:11 +01:00
avf_showwaves: fix null pointer dereference
Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit e4eebc2da9)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user