Mercurial > mplayer.hg
diff libmpdemux/demuxer.h @ 29401:f01023c524c3
Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.
author | diego |
---|---|
date | Sun, 26 Jul 2009 19:53:00 +0000 |
parents | 0f1b5b68af32 |
children | fa5a020677d6 |
line wrap: on
line diff
--- a/libmpdemux/demuxer.h Sun Jul 26 19:38:22 2009 +0000 +++ b/libmpdemux/demuxer.h Sun Jul 26 19:53:00 2009 +0000 @@ -384,7 +384,7 @@ static inline int avi_stream_id(unsigned int id){ unsigned char *p=(unsigned char *)&id; unsigned char a,b; -#ifdef WORDS_BIGENDIAN +#if HAVE_BIGENDIAN a=p[3]-'0'; b=p[2]-'0'; #else a=p[0]-'0'; b=p[1]-'0';