diff options
author | James Almer <jamrial@gmail.com> | 2017-03-23 14:26:44 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-03-23 14:26:44 -0300 |
commit | a1a80a6c9ce5309632a8b5c0241fa5ffcd09b5fc (patch) | |
tree | 0a8f0d228b819666a6cd0949190e406f56cf73be | |
parent | d84c2298e28cfe16161060f3b5eac02bca167a0e (diff) | |
download | ffmpeg-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.h | 2 |
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 |