mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
Rename remaining get_le32 to avio_rl32.
This commit is contained in:
parent
c142e2a00f
commit
07c7ffc04b
@ -74,7 +74,7 @@ static int read_header(AVFormatContext *s,
|
||||
return AVERROR(ENOMEM);
|
||||
|
||||
avio_skip(pb, 16);
|
||||
size=get_le32(pb);
|
||||
size=avio_rl32(pb);
|
||||
ff_get_wav_header(pb, st->codec, size);
|
||||
|
||||
/*
|
||||
@ -95,7 +95,7 @@ static int read_header(AVFormatContext *s,
|
||||
avio_seek(pb, 257, SEEK_SET);
|
||||
msec=avio_rl16(pb);
|
||||
sec=avio_r8(pb);
|
||||
min=get_le32(pb);
|
||||
min=avio_rl32(pb);
|
||||
|
||||
st->duration = av_rescale(1000*(min*60+sec)+msec, st->codec->sample_rate, 1000 * st->codec->frame_size);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user