Mercurial > libavcodec.hg
changeset 9240:4b74d02db3df libavcodec
Implement X_NE() macro.
author | stefano |
---|---|
date | Sun, 22 Mar 2009 22:10:36 +0000 |
parents | af76987c8d53 |
children | 4f827ca90571 |
files | imgconvert.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/imgconvert.c Sun Mar 22 22:10:33 2009 +0000 +++ b/imgconvert.c Sun Mar 22 22:10:36 2009 +0000 @@ -499,6 +499,12 @@ 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