Mercurial > mplayer.hg
diff libmpcodecs/ad_hwac3.c @ 28299:8baa89b228c5
revert #ifdef WORDS_BIGENDIAN => #if WORDS_BIGENDIAN changes from r28331
author | gpoirier |
---|---|
date | Fri, 16 Jan 2009 13:19:29 +0000 |
parents | 08c1417e757b |
children | 606c3c97229c |
line wrap: on
line diff
--- a/libmpcodecs/ad_hwac3.c Fri Jan 16 12:37:56 2009 +0000 +++ b/libmpcodecs/ad_hwac3.c Fri Jan 16 13:19:29 2009 +0000 @@ -179,7 +179,7 @@ buf16[2] = 0x0001; // data-type ac3 buf16[2] |= (sh_audio->a_in_buffer[5] & 0x7) << 8; // bsmod buf16[3] = len << 3; // number of bits in payload -#if WORDS_BIGENDIAN +#ifdef WORDS_BIGENDIAN memcpy(buf + 8, sh_audio->a_in_buffer, len); #else swab(sh_audio->a_in_buffer, buf + 8, len); @@ -523,7 +523,7 @@ buf16[3] = fsize << 3; if (!convert_16bits) { -#if WORDS_BIGENDIAN +#ifdef WORDS_BIGENDIAN /* BE stream */ if (indata_ptr[0] == 0x1f || indata_ptr[0] == 0x7f) #else