diff options
author | Alexander Kojevnikov <alexander@kojevnikov.com> | 2013-03-06 21:38:55 -0800 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2013-03-09 18:01:09 +0100 |
commit | d3b40af01f88aeb19f3400956fefa0e324ef5e2e (patch) | |
tree | e1de0989a8be725a4caea124c57bcec9ae5a82ac /libavcodec/x86/ac3dsp.asm | |
parent | 60dd8b5733f9ec4919fbc732ace1be8184dde880 (diff) | |
download | ffmpeg-d3b40af01f88aeb19f3400956fefa0e324ef5e2e.tar.gz |
mp3dec: Fix VBR bit rate parsing
When parsing the Xing/Info tag, don't set the bit rate if it's an Info tag.
When parsing the stream, don't override the bit rate if it's already set,
otherwise calculate the mean bit rate from parsed frames. This way, the bit
rate will be set correctly both for CBR and VBR streams.
CC:libav-stable@libav.org
Signed-off-by: Anton Khirnov <anton@khirnov.net>
(cherry picked from commit eae0879d961b78717dd2a0899809ad22819ae9e3)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'libavcodec/x86/ac3dsp.asm')
0 files changed, 0 insertions, 0 deletions