vqf: check samplerate, avoid division by 0.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 9 Nov 2012 17:04:54 +0000 (18:04 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 9 Nov 2012 17:05:19 +0000 (18:05 +0100)
commite481ba2ed79421d82ed631d187c05c03260c6561
tree734c3962f54aa467ca93fc75036eb94377c4838e
parentfb6a72cde52580bc92c92c8f02bb3eb7afb3fd71
vqf: check samplerate, avoid division by 0.

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