[MPlayer-cvslog] r19403 - trunk/libmpcodecs/ae_lame.c

gpoirier subversion at mplayerhq.hu
Tue Aug 15 16:32:51 CEST 2006


Author: gpoirier
Date: Tue Aug 15 16:32:50 2006
New Revision: 19403

Modified:
   trunk/libmpcodecs/ae_lame.c

Log:
Set encoder's input format to "native endiannes", instead of little endian.
Original thread:
Date: Aug 9, 2006 11:55 PM
Subject: Re: [PATCH] bugfix: lame endianess for Solaris/SPARC

Modified: trunk/libmpcodecs/ae_lame.c
==============================================================================
--- trunk/libmpcodecs/ae_lame.c	(original)
+++ trunk/libmpcodecs/ae_lame.c	Tue Aug 15 16:32:50 2006
@@ -96,7 +96,7 @@
     ((MPEGLAYER3WAVEFORMAT*)(mux_a->wf))->nFramesPerBlock=1;
     ((MPEGLAYER3WAVEFORMAT*)(mux_a->wf))->nCodecDelay=0;
     
-    encoder->input_format = AF_FORMAT_S16_LE;
+    encoder->input_format = AF_FORMAT_S16_NE;
     encoder->min_buffer_size = 4608;
     encoder->max_buffer_size = mux_a->h.dwRate * mux_a->wf->nChannels * 2;
     



More information about the MPlayer-cvslog mailing list