avformat/utils: Exclude the header size when computing duration from bit_rate
authorHendrik Leppkes <h.leppkes@gmail.com>
Sat, 6 Sep 2014 12:59:23 +0000 (14:59 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 8 Sep 2014 03:22:05 +0000 (05:22 +0200)
commite9c08e32d6b97cb7bfec29b38b3394be46dc3e70
tree0135f12b9309d2ca6d3b00ce2cc825209730ed2f
parentf044fc03727dcbe7535b393e06d8ab1bc0312a9c
avformat/utils: Exclude the header size when computing duration from bit_rate

This improves the estimate for MP3s with cover art tags.

Fixes Ticket2931

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