Mercurial > mplayer.hg
comparison libaf/af_lavcac3enc.c @ 29401:f01023c524c3
Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.
author | diego |
---|---|
date | Sun, 26 Jul 2009 19:53:00 +0000 |
parents | 8c706ce21c6f |
children | 99eda963d27a |
comparison
equal
deleted
inserted
replaced
29400:0446f018f9fc | 29401:f01023c524c3 |
---|---|
236 | 236 |
237 if (s->add_iec61937_header) { | 237 if (s->add_iec61937_header) { |
238 int16_t *out = (int16_t *)buf; | 238 int16_t *out = (int16_t *)buf; |
239 int bsmod = dest[5] & 0x7; | 239 int bsmod = dest[5] & 0x7; |
240 | 240 |
241 #ifndef WORDS_BIGENDIAN | 241 #if !HAVE_BIGENDIAN |
242 int i; | 242 int i; |
243 char tmp; | 243 char tmp; |
244 for (i = 0; i < len; i += 2) { | 244 for (i = 0; i < len; i += 2) { |
245 tmp = dest[i]; | 245 tmp = dest[i]; |
246 dest[i] = dest[i+1]; | 246 dest[i] = dest[i+1]; |