From a1a80a6c9ce5309632a8b5c0241fa5ffcd09b5fc Mon Sep 17 00:00:00 2001 From: James Almer Date: Thu, 23 Mar 2017 14:26:44 -0300 Subject: 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. --- libavcodec/bytestream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3