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>
Mon, 16 May 2016 12:23:49 +0000 (14:23 +0200)
commit635b2ec5f20d6cdef1adf4907ca28f8f09abcecc
treea627206f8be0015c03e515238208e802f52a7409
parent6085d6b2aeef28671614f625601a23cfc922d282
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>
libavformat/utils.c