lavc/utils: fix division by 0
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 10 May 2012 15:36:49 +0000 (17:36 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 10 May 2012 15:36:49 +0000 (17:36 +0200)
commit8ea5df4fac57acf8a6e8cf575502ccd3dd776f57
tree0f1adf80602f5c8de1cb98fd1dd3da126f7cc74c
parent91e72e35141f590c38985ad0ae3453a4e9e86b8a
lavc/utils: fix division by 0

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