diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-04-15 01:12:26 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-04-15 01:12:26 +0200 |
commit | da1bb21c13024d5c2d28432a7b1a6bb72e38ef58 (patch) | |
tree | dc62f0e417452324d9bf299f73f45a96d8ce457e | |
parent | 977ee8afd6a7275127147d1871a1f5a461e3e3c5 (diff) | |
download | ffmpeg-da1bb21c13024d5c2d28432a7b1a6bb72e38ef58.tar.gz |
lavfi/aphaser: silence uninitialized variable warnings.
-rw-r--r-- | libavfilter/af_aphaser.c | 1 |
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]; \ |