Commit d1992b67 authored by stefano's avatar stefano

Implement X_NE() macro.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18158 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1f0ad331
...@@ -499,6 +499,12 @@ static enum PixelFormat avcodec_get_pix_fmt_internal(const char *name) ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment