[Mplayer-cvslog] CVS: main mencoder.c,1.182,1.183
Colin Leroy CVS
colin at mplayerhq.hu
Sun Nov 3 10:54:51 CET 2002
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv7913
Modified Files:
mencoder.c
Log Message:
fix sound encoding on BE arch
Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.182
retrieving revision 1.183
diff -u -r1.182 -r1.183
--- mencoder.c 2 Nov 2002 02:44:18 -0000 1.182
+++ mencoder.c 3 Nov 2002 09:54:49 -0000 1.183
@@ -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");
}
More information about the MPlayer-cvslog
mailing list