diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-04-09 18:22:53 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2014-05-04 10:18:14 -0400 |
commit | 3938b6762132d3d7ef1b5782e7dc8bf73ac8145d (patch) | |
tree | b705a3fde723e4cdd925cc981ef025f3cd2716f8 /libavcodec/libfaac.c | |
parent | eb89e1b98d3676aac1287d97c633b527c1ff4ea4 (diff) | |
download | ffmpeg-3938b6762132d3d7ef1b5782e7dc8bf73ac8145d.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>
(cherry picked from commit 0f6e309b97e3da83a0fa75fbf1c4b50cd72047eb)
Diffstat (limited to 'libavcodec/libfaac.c')
0 files changed, 0 insertions, 0 deletions