avformat/vqf: check number of channels before use.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 7 May 2013 20:26:22 +0000 (22:26 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 7 May 2013 20:26:56 +0000 (22:26 +0200)
commita527e692592b7eef69430cc866bb96231526316c
tree1bdb2bb2a46ce22d856787beae746cf689fe8262
parent9dd04f6d8cdd1c10c28b2cb4252c1a41df581915
avformat/vqf: check number of channels before use.

Fixes division by zero

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/vqf.c