aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/caf.c
diff options
context:
space:
mode:
authorAlexander Kojevnikov <alexander@kojevnikov.com>2013-02-26 21:47:11 -0800
committerMichael Niedermayer <michaelni@gmx.at>2013-03-20 22:02:28 +0100
commit7cb24ecd4c41d3e31dd5d5f56e0f5bfa081ac5a7 (patch)
tree6e4ecda4519414e3b28e47be0c58da6759e2fe49 /libavformat/caf.c
parent9faf323d7ed177d19005b66debba39b10930042a (diff)
downloadffmpeg-7cb24ecd4c41d3e31dd5d5f56e0f5bfa081ac5a7.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. Signed-off-by: Alexander Kojevnikov <alexander@kojevnikov.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 29d8cd265a536063420afe78375b2176a9e1abc5) Conflicts: tests/ref/lavf-fate/mp3 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/caf.c')
0 files changed, 0 insertions, 0 deletions