1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-09-16 11:54:09 +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;
}
#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