mirror of https://git.ffmpeg.org/ffmpeg.git
avrdec: sample rate takes 3 bytes not 4
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
1793128cf7
commit
b0d9b011c7
|
@ -61,8 +61,9 @@ static int avr_read_header(AVFormatContext *s)
|
|||
|
||||
avio_skip(s->pb, 2); // loop
|
||||
avio_skip(s->pb, 2); // midi
|
||||
avio_skip(s->pb, 1); // replay speed
|
||||
|
||||
st->codec->sample_rate = avio_rb32(s->pb);
|
||||
st->codec->sample_rate = avio_rb24(s->pb);
|
||||
avio_skip(s->pb, 4 * 3);
|
||||
avio_skip(s->pb, 2 * 3);
|
||||
avio_skip(s->pb, 20);
|
||||
|
|
Loading…
Reference in New Issue