[FFmpeg-cvslog] Rename remaining get_le16 to avio_rl16.
Clément Bœsch
git at videolan.org
Mon Nov 14 07:26:16 CET 2011
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Mon Nov 14 01:36:32 2011 +0100| [c142e2a00feaa68a7ed627c3d5e3752ea535704c] | committer: Clément Bœsch
Rename remaining get_le16 to avio_rl16.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c142e2a00feaa68a7ed627c3d5e3752ea535704c
---
libavformat/act.c | 2 +-
libavformat/bintext.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavformat/act.c b/libavformat/act.c
index e55b431..2c80480 100644
--- a/libavformat/act.c
+++ b/libavformat/act.c
@@ -93,7 +93,7 @@ static int read_header(AVFormatContext *s,
st->codec->codec_id=CODEC_ID_G729;
avio_seek(pb, 257, SEEK_SET);
- msec=get_le16(pb);
+ msec=avio_rl16(pb);
sec=avio_r8(pb);
min=get_le32(pb);
diff --git a/libavformat/bintext.c b/libavformat/bintext.c
index 8c155bd..a39ab29 100644
--- a/libavformat/bintext.c
+++ b/libavformat/bintext.c
@@ -179,8 +179,8 @@ static int xbin_read_header(AVFormatContext *s,
return AVERROR(ENOMEM);
avio_skip(pb, 5);
- st->codec->width = get_le16(pb)<<3;
- st->codec->height = get_le16(pb);
+ st->codec->width = avio_rl16(pb)<<3;
+ st->codec->height = avio_rl16(pb);
fontheight = avio_r8(pb);
st->codec->height *= fontheight;
flags = avio_r8(pb);
More information about the ffmpeg-cvslog
mailing list