diff options
author | Måns Rullgård <mans@mansr.com> | 2009-07-26 12:20:04 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-07-26 12:20:04 +0000 |
commit | 63613fe615160671b394a232c1a3736319a6a8ec (patch) | |
tree | 4e85211d5388b91b47facca7700512abdd36446d /libavformat/asfdec.c | |
parent | 84c04e25196a59694abec3ae17af476994bc5ce8 (diff) | |
download | ffmpeg-63613fe615160671b394a232c1a3736319a6a8ec.tar.gz |
Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/asfdec.c')
-rw-r--r-- | libavformat/asfdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index 9f445ecc4f..df39bb9857 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -364,7 +364,7 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap) /* This is true for all paletted codecs implemented in ffmpeg */ if (st->codec->extradata_size && (st->codec->bits_per_coded_sample <= 8)) { st->codec->palctrl = av_mallocz(sizeof(AVPaletteControl)); -#ifdef WORDS_BIGENDIAN +#if HAVE_BIGENDIAN for (i = 0; i < FFMIN(st->codec->extradata_size, AVPALETTE_SIZE)/4; i++) st->codec->palctrl->palette[i] = bswap_32(((uint32_t*)st->codec->extradata)[i]); #else |