[FFmpeg-cvslog] r18158 - trunk/libavcodec/imgconvert.c
stefano
subversion
Sun Mar 22 23:10:37 CET 2009
Author: stefano
Date: Sun Mar 22 23:10:36 2009
New Revision: 18158
Log:
Implement X_NE() macro.
Modified:
trunk/libavcodec/imgconvert.c
Modified: trunk/libavcodec/imgconvert.c
==============================================================================
--- trunk/libavcodec/imgconvert.c Sun Mar 22 23:10:33 2009 (r18157)
+++ trunk/libavcodec/imgconvert.c Sun Mar 22 23:10:36 2009 (r18158)
@@ -499,6 +499,12 @@ static enum PixelFormat avcodec_get_pix_
return PIX_FMT_NONE;
}
+#ifdef WORDS_BIGENDIAN
+# define X_NE(be, le) be
+#else
+# define X_NE(be, le) le
+#endif
+
enum PixelFormat avcodec_get_pix_fmt(const char *name)
{
#ifdef WORDS_BIGENDIAN
More information about the ffmpeg-cvslog
mailing list