You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-11 14:30:22 +02:00
Rename remaining get_le16 to avio_rl16.
This commit is contained in:
@ -93,7 +93,7 @@ static int read_header(AVFormatContext *s,
|
|||||||
st->codec->codec_id=CODEC_ID_G729;
|
st->codec->codec_id=CODEC_ID_G729;
|
||||||
|
|
||||||
avio_seek(pb, 257, SEEK_SET);
|
avio_seek(pb, 257, SEEK_SET);
|
||||||
msec=get_le16(pb);
|
msec=avio_rl16(pb);
|
||||||
sec=avio_r8(pb);
|
sec=avio_r8(pb);
|
||||||
min=get_le32(pb);
|
min=get_le32(pb);
|
||||||
|
|
||||||
|
@ -179,8 +179,8 @@ static int xbin_read_header(AVFormatContext *s,
|
|||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
|
|
||||||
avio_skip(pb, 5);
|
avio_skip(pb, 5);
|
||||||
st->codec->width = get_le16(pb)<<3;
|
st->codec->width = avio_rl16(pb)<<3;
|
||||||
st->codec->height = get_le16(pb);
|
st->codec->height = avio_rl16(pb);
|
||||||
fontheight = avio_r8(pb);
|
fontheight = avio_r8(pb);
|
||||||
st->codec->height *= fontheight;
|
st->codec->height *= fontheight;
|
||||||
flags = avio_r8(pb);
|
flags = avio_r8(pb);
|
||||||
|
Reference in New Issue
Block a user