Skip to content
Snippets Groups Projects
Commit 836c8750 authored by Paul B Mahol's avatar Paul B Mahol
Browse files

avfilter/avf_showspectrum: fix 2 possible crashes


Make sure no division by zero is done.
Make sure there are actually samples available.

Signed-off-by: default avatarPaul B Mahol <onemda@gmail.com>
parent 29fbce8f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment