1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

Implement X_NE() macro.

Originally committed as revision 18158 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini
2009-03-22 22:10:36 +00:00
parent e2a38af96e
commit 8199ea3b8c

View File

@@ -499,6 +499,12 @@ static enum PixelFormat avcodec_get_pix_fmt_internal(const char *name)
return PIX_FMT_NONE; 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) enum PixelFormat avcodec_get_pix_fmt(const char *name)
{ {
#ifdef WORDS_BIGENDIAN #ifdef WORDS_BIGENDIAN