summaryrefslogtreecommitdiff
path: root/libavfilter/af_aphaser.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-04-15 01:12:26 +0200
committerClément Bœsch <ubitux@gmail.com>2013-04-15 01:12:26 +0200
commitda1bb21c13024d5c2d28432a7b1a6bb72e38ef58 (patch)
treedc62f0e417452324d9bf299f73f45a96d8ce457e /libavfilter/af_aphaser.c
parent977ee8afd6a7275127147d1871a1f5a461e3e3c5 (diff)
lavfi/aphaser: silence uninitialized variable warnings.
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]; \