mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 05:50:43 +00:00
mp3dec: Fix reading file size and frames in VBRI headers
The fields "Number of Bytes" and "Number of Frames" are mixed up. "Bytes" come first, "Frames" behind. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Alex Converse <alex.converse@gmail.com>
This commit is contained in:
parent
1c4717be4f
commit
c05e2be9a2
@ -111,8 +111,8 @@ static int mp3_parse_vbr_tags(AVFormatContext *s, AVStream *st, int64_t base)
|
||||
if(avio_rb16(s->pb) == 1) {
|
||||
/* skip delay and quality */
|
||||
avio_skip(s->pb, 4);
|
||||
frames = avio_rb32(s->pb);
|
||||
size = avio_rb32(s->pb);
|
||||
frames = avio_rb32(s->pb);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user