[Mplayer-cvslog] CVS: main/libmpcodecs dec_audio.c,1.30,1.31

Reimar Döffinger CVS syncmail at mplayerhq.hu
Fri May 14 23:16:02 CEST 2004


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv29141/libmpcodecs

Modified Files:
	dec_audio.c 
Log Message:
removed #ifdefs that are already handled by libao2/afmt.h


Index: dec_audio.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/dec_audio.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- dec_audio.c	1 May 2004 20:00:04 -0000	1.30
+++ dec_audio.c	14 May 2004 21:16:00 -0000	1.31
@@ -59,11 +59,7 @@
   // Set up some common usefull defaults. ad->preinit() can override these:
   
   sh_audio->samplesize=2;
-#ifdef WORDS_BIGENDIAN
-  sh_audio->sample_format=AFMT_S16_BE;
-#else
-  sh_audio->sample_format=AFMT_S16_LE;
-#endif
+  sh_audio->sample_format=AFMT_S16_NE;
   sh_audio->samplerate=0;
   sh_audio->channels=0;
   sh_audio->i_bps=0;  // input rate (bytes/sec)




More information about the MPlayer-cvslog mailing list