[FFmpeg-cvslog] avcodec/bytestream: check for AV_HAVE_BIGENDIAN instead of HAVE_BIGENDIAN

James Almer git at videolan.org
Thu Mar 23 19:56:10 EET 2017


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Thu Mar 23 14:26:44 2017 -0300| [a1a80a6c9ce5309632a8b5c0241fa5ffcd09b5fc] | committer: James Almer

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a1a80a6c9ce5309632a8b5c0241fa5ffcd09b5fc
---

 libavcodec/bytestream.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/bytestream.h b/libavcodec/bytestream.h
index 7c05ea6..7be7fc2 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



More information about the ffmpeg-cvslog mailing list