avformat/utils: Do not compute the bitrate from duration == 0
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 16 May 2016 11:43:02 +0000 (13:43 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 5 Jun 2016 00:40:31 +0000 (02:40 +0200)
commite5d167149d82a8ca3509a94a62989af5b24a943d
treef5bb9214308984dd0eeeeab14766bdba7f4a4c04
parented71759fd08b1b2c4760c5bc973318c534dc346a
avformat/utils: Do not compute the bitrate from duration == 0

Fixes division by 0 in fate-acodec-ra144

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 635b2ec5f20d6cdef1adf4907ca28f8f09abcecc)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/utils.c