Revision 63613fe6 libavdevice/oss_audio.c

View differences:

libavdevice/oss_audio.c
89 89
    /* select format : favour native format */
90 90
    err = ioctl(audio_fd, SNDCTL_DSP_GETFMTS, &tmp);
91 91

  
92
#ifdef WORDS_BIGENDIAN
92
#if HAVE_BIGENDIAN
93 93
    if (tmp & AFMT_S16_BE) {
94 94
        tmp = AFMT_S16_BE;
95 95
    } else if (tmp & AFMT_S16_LE) {
......
335 335
    /* XXX: we make the assumption that the soundcard accepts this format */
336 336
    /* XXX: find better solution with "preinit" method, needed also in
337 337
       other formats */
338
#ifdef WORDS_BIGENDIAN
338
#if HAVE_BIGENDIAN
339 339
    CODEC_ID_PCM_S16BE,
340 340
#else
341 341
    CODEC_ID_PCM_S16LE,

Also available in: Unified diff