From da1bb21c13024d5c2d28432a7b1a6bb72e38ef58 Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Mon, 15 Apr 2013 01:12:26 +0200 Subject: lavfi/aphaser: silence uninitialized variable warnings. --- libavfilter/af_aphaser.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavfilter/af_aphaser.c') 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]; \ -- cgit v1.2.3