summaryrefslogtreecommitdiff
path: root/libavcodec/bytestream.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/bytestream.h')
-rw-r--r--libavcodec/bytestream.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/bytestream.h b/libavcodec/bytestream.h
index a742fa1c14..ae5438b49c 100644
--- a/libavcodec/bytestream.h
+++ b/libavcodec/bytestream.h
@@ -25,13 +25,13 @@
static av_always_inline unsigned int bytestream_get_le32(uint8_t **b)
{
(*b) += 4;
- return LE_32(*b - 4);
+ return AV_RL32(*b - 4);
}
static av_always_inline unsigned int bytestream_get_le16(uint8_t **b)
{
(*b) += 2;
- return LE_16(*b - 2);
+ return AV_RL16(*b - 2);
}
static av_always_inline unsigned int bytestream_get_byte(uint8_t **b)