av_get_audio_frame_duration: fix FPE
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 3 Jun 2012 15:12:26 +0000 (17:12 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 3 Jun 2012 15:12:57 +0000 (17:12 +0200)
commita5ad3c2382ac27cf712aaba6a222ec12f5eb88da
treea15854493180c6c68c97d23374fd5f2d2dd329bd
parent6df1cfa7e4d488051d7b5033c0c69df970db9f82
av_get_audio_frame_duration: fix FPE

Fixes ticket1392

Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/utils.c