summaryrefslogtreecommitdiff
path: root/libavdevice/oss_audio.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-07-26 12:20:04 +0000
committerMåns Rullgård <mans@mansr.com>2009-07-26 12:20:04 +0000
commit63613fe615160671b394a232c1a3736319a6a8ec (patch)
tree4e85211d5388b91b47facca7700512abdd36446d /libavdevice/oss_audio.c
parent84c04e25196a59694abec3ae17af476994bc5ce8 (diff)
Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavdevice/oss_audio.c')
-rw-r--r--libavdevice/oss_audio.c4
1 files changed, 2 insertions, 2 deletions
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,