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>
Wed, 6 Jun 2012 22:55:25 +0000 (00:55 +0200)
commit320704f739e831b13f5c4e9a7770d46fa9d24bde
treead357b4b099b0d627d6b44b5e60101b1113eb89a
parentbe1d65031fecdce619de8831b7802bfba1932869
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>
(cherry picked from commit a5ad3c2382ac27cf712aaba6a222ec12f5eb88da)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/utils.c