summaryrefslogtreecommitdiff
path: root/libavfilter/af_aphaser.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/af_aphaser.c')
-rw-r--r--libavfilter/af_aphaser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/af_aphaser.c b/libavfilter/af_aphaser.c
index 5f7b9d6423..b1043b0454 100644
--- a/libavfilter/af_aphaser.c
+++ b/libavfilter/af_aphaser.c
@@ -186,6 +186,7 @@ static void phaser_## name ##p(AudioPhaserContext *p, \
{ \
int i, c, delay_pos, modulation_pos; \
\
+ av_assert0(channels > 0); \
for (c = 0; c < channels; c++) { \
type *s = (type *)src[c]; \
type *d = (type *)dst[c]; \