summaryrefslogtreecommitdiff
path: root/libavfilter/avf_showfreqs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/avf_showfreqs.c')
-rw-r--r--libavfilter/avf_showfreqs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/avf_showfreqs.c b/libavfilter/avf_showfreqs.c
index af6e4c2a53..b33587b318 100644
--- a/libavfilter/avf_showfreqs.c
+++ b/libavfilter/avf_showfreqs.c
@@ -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;