aboutsummaryrefslogtreecommitdiff
path: root/libavformat/txd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/txd.c')
-rw-r--r--libavformat/txd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/txd.c b/libavformat/txd.c
index 76d68a8190..92a0c094aa 100644
--- a/libavformat/txd.c
+++ b/libavformat/txd.c
@@ -57,9 +57,9 @@ static int txd_read_packet(AVFormatContext *s, AVPacket *pkt) {
int ret;
next_chunk:
- id = get_le32(pb);
- chunk_size = get_le32(pb);
- marker = get_le32(pb);
+ id = avio_rl32(pb);
+ chunk_size = avio_rl32(pb);
+ marker = avio_rl32(pb);
if (url_feof(s->pb))
return AVERROR_EOF;