summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-03-23 14:26:44 -0300
committerJames Almer <jamrial@gmail.com>2017-03-23 14:26:44 -0300
commita1a80a6c9ce5309632a8b5c0241fa5ffcd09b5fc (patch)
tree0a8f0d228b819666a6cd0949190e406f56cf73be
parentd84c2298e28cfe16161060f3b5eac02bca167a0e (diff)
downloadffmpeg-a1a80a6c9ce5309632a8b5c0241fa5ffcd09b5fc.tar.gz
avcodec/bytestream: check for AV_HAVE_BIGENDIAN instead of HAVE_BIGENDIAN
No need to include config.h for HAVE_BIGENDIAN when libavutil/avconfig.h is already included.
-rw-r--r--libavcodec/bytestream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bytestream.h b/libavcodec/bytestream.h
index 7c05ea6cf5..7be7fc22fc 100644
--- a/libavcodec/bytestream.h
+++ b/libavcodec/bytestream.h
@@ -94,7 +94,7 @@ DEF(unsigned int, be24, 3, AV_RB24, AV_WB24)
DEF(unsigned int, be16, 2, AV_RB16, AV_WB16)
DEF(unsigned int, byte, 1, AV_RB8 , AV_WB8)
-#if HAVE_BIGENDIAN
+#if AV_HAVE_BIGENDIAN
# define bytestream2_get_ne16 bytestream2_get_be16
# define bytestream2_get_ne24 bytestream2_get_be24
# define bytestream2_get_ne32 bytestream2_get_be32