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 /libavdevice | |
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 'libavdevice')
-rw-r--r-- | libavdevice/alsa-audio.h | 2 | ||||
-rw-r--r-- | libavdevice/beosaudio.cpp | 2 | ||||
-rw-r--r-- | libavdevice/jack_audio.c | 2 | ||||
-rw-r--r-- | libavdevice/oss_audio.c | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/libavdevice/alsa-audio.h b/libavdevice/alsa-audio.h index e49e2ebded..6adde772d2 100644 --- a/libavdevice/alsa-audio.h +++ b/libavdevice/alsa-audio.h @@ -37,7 +37,7 @@ /* XXX: we make the assumption that the soundcard accepts this format */ /* XXX: find better solution with "preinit" method, needed also in other formats */ -#ifdef WORDS_BIGENDIAN +#if HAVE_BIGENDIAN #define DEFAULT_CODEC_ID CODEC_ID_PCM_S16BE #else #define DEFAULT_CODEC_ID CODEC_ID_PCM_S16LE diff --git a/libavdevice/beosaudio.cpp b/libavdevice/beosaudio.cpp index 53edefe11e..c98a2398c5 100644 --- a/libavdevice/beosaudio.cpp +++ b/libavdevice/beosaudio.cpp @@ -439,7 +439,7 @@ AVOutputFormat audio_beos_muxer = { "", "", sizeof(AudioData), -#ifdef WORDS_BIGENDIAN +#if HAVE_BIGENDIAN CODEC_ID_PCM_S16BE, #else CODEC_ID_PCM_S16LE, diff --git a/libavdevice/jack_audio.c b/libavdevice/jack_audio.c index 579cf0e1e3..fa1fba13ca 100644 --- a/libavdevice/jack_audio.c +++ b/libavdevice/jack_audio.c @@ -238,7 +238,7 @@ static int audio_read_header(AVFormatContext *context, AVFormatParameters *param } stream->codec->codec_type = CODEC_TYPE_AUDIO; -#ifdef WORDS_BIGENDIAN +#if HAVE_BIGENDIAN stream->codec->codec_id = CODEC_ID_PCM_F32BE; #else stream->codec->codec_id = CODEC_ID_PCM_F32LE; diff --git a/libavdevice/oss_audio.c b/libavdevice/oss_audio.c index a89c39ac05..5b0d02a2f8 100644 --- a/libavdevice/oss_audio.c +++ b/libavdevice/oss_audio.c @@ -89,7 +89,7 @@ static int audio_open(AVFormatContext *s1, int is_output, const char *audio_devi /* select format : favour native format */ err = ioctl(audio_fd, SNDCTL_DSP_GETFMTS, &tmp); -#ifdef WORDS_BIGENDIAN +#if HAVE_BIGENDIAN if (tmp & AFMT_S16_BE) { tmp = AFMT_S16_BE; } else if (tmp & AFMT_S16_LE) { @@ -335,7 +335,7 @@ AVOutputFormat oss_muxer = { /* XXX: we make the assumption that the soundcard accepts this format */ /* XXX: find better solution with "preinit" method, needed also in other formats */ -#ifdef WORDS_BIGENDIAN +#if HAVE_BIGENDIAN CODEC_ID_PCM_S16BE, #else CODEC_ID_PCM_S16LE, |