This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avfilter/avf_showfreqs: assert that variables are initialized by switch()
Silences: CID1351396 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.0
Michael Niedermayer
10 years ago
parent
9313fb6a3e
commit
43bf15d1a4
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavfilter/avf_showfreqs.c
+ 2
- 0
libavfilter/avf_showfreqs.c
View File
@@ -310,6 +310,8 @@ static inline void plot_freq(ShowFreqsContext *s, int ch,
end = (outlink->h / s->nb_channels) * (ch + 1);
y = (outlink->h / s->nb_channels) * ch + a * (outlink->h / s->nb_channels) - 1;
break;
default:
av_assert0(0);
}
if (y < 0)
return;
Write
Preview
Loading…
Cancel
Save