diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-14 04:41:26 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-14 04:42:08 +0100 |
commit | f156dc54f8c285ec2f11cd9cc7e2e0d7c510cb04 (patch) | |
tree | 89abd66dd64b92ab3fec8af4e696be70d5b7fef9 /libavcodec/jrevdct.c | |
parent | 685f50b374411fce2790d710f75c15410cb3cee7 (diff) | |
download | ffmpeg-f156dc54f8c285ec2f11cd9cc7e2e0d7c510cb04.tar.gz |
mpegaudio_parser: fix off by 1 error
See:
commit 29d8cd265a536063420afe78375b2176a9e1abc5
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date: Tue Feb 26 21:47:11 2013 -0800
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>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/jrevdct.c')
0 files changed, 0 insertions, 0 deletions