| Index: source/patched-ffmpeg-mt/libavdevice/alsa-audio.h
|
| ===================================================================
|
| --- source/patched-ffmpeg-mt/libavdevice/alsa-audio.h (revision 59334)
|
| +++ source/patched-ffmpeg-mt/libavdevice/alsa-audio.h (working copy)
|
| @@ -37,11 +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 */
|
| -#if HAVE_BIGENDIAN
|
| -#define DEFAULT_CODEC_ID CODEC_ID_PCM_S16BE
|
| -#else
|
| -#define DEFAULT_CODEC_ID CODEC_ID_PCM_S16LE
|
| -#endif
|
| +#define DEFAULT_CODEC_ID AV_NE(CODEC_ID_PCM_S16BE, CODEC_ID_PCM_S16LE)
|
|
|
| typedef struct {
|
| snd_pcm_t *h;
|
|
|