diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-04-09 18:22:53 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2014-04-12 10:49:30 -0400 |
commit | 0f6e309b97e3da83a0fa75fbf1c4b50cd72047eb (patch) | |
tree | 406ea24d1f2ca6e705327bc3cb6986af232aa5a1 /libavcodec/wmadata.h | |
parent | e0aa76d38a02090245284fc157afb9074e9ff073 (diff) | |
download | ffmpeg-0f6e309b97e3da83a0fa75fbf1c4b50cd72047eb.tar.gz |
mp3enc: Properly write bitrate value in XING header
Instead of using a fixed bitrate_idx, calculate a matching bitrate for
the XING header.
Using a fixed bitrate_idx causes tools such as file(1) and mediainfo(1)
to report wrong bitrate and bitrate mode when using CBR.
Bug-Id: https://bugs.debian.org/736088
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit 617a1a98a6be3e59db6fbfc21afab2fb9a049c03)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'libavcodec/wmadata.h')
0 files changed, 0 insertions, 0 deletions