diff options
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 e49e2eb..6adde77 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 53edefe..c98a239 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 579cf0e..fa1fba1 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 a89c39a..5b0d02a 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, |