Mercurial > libavcodec.hg
diff h264.c @ 9985:266bf83f634d libavcodec
Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
author | mru |
---|---|
date | Sun, 26 Jul 2009 12:20:04 +0000 |
parents | 14edbbff0f25 |
children | 9a670cfd1941 |
line wrap: on
line diff
--- a/h264.c Fri Jul 24 21:28:44 2009 +0000 +++ b/h264.c Sun Jul 26 12:20:04 2009 +0000 @@ -82,7 +82,7 @@ static Picture * remove_long(H264Context *h, int i, int ref_mask); static av_always_inline uint32_t pack16to32(int a, int b){ -#ifdef WORDS_BIGENDIAN +#if HAVE_BIGENDIAN return (b&0xFFFF) + (a<<16); #else return (a&0xFFFF) + (b<<16);