Mercurial > mplayer.hg
changeset 8075:e657de6721e9
fix sound encoding on BE arch
author | colin |
---|---|
date | Sun, 03 Nov 2002 09:54:49 +0000 |
parents | f04130a7f146 |
children | 3ac37c4beeaf |
files | mencoder.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mencoder.c Sun Nov 03 09:51:06 2002 +0000 +++ b/mencoder.c Sun Nov 03 09:54:49 2002 +0000 @@ -739,7 +739,11 @@ sh_audio->samplerate, sh_audio->channels, sh_audio->sample_format, sh_audio->samplesize, mux_a->wf->nSamplesPerSec, mux_a->wf->nChannels, +#ifdef WORDS_BIGENDIAN + AFMT_S16_BE, 2, +#else AFMT_S16_LE, 2, +#endif 4608, mux_a->h.dwRate*mux_a->wf->nChannels*2)){ mp_msg(MSGT_CPLAYER,MSGL_ERR,"Couldn't find matching filter / ao format!\n"); }