changeset 19397:0074c9c77a0e

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
author gpoirier
date Tue, 15 Aug 2006 14:32:50 +0000
parents 8fe37c66d10a
children bb5164e0f70f
files libmpcodecs/ae_lame.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ae_lame.c	Tue Aug 15 08:47:03 2006 +0000
+++ b/libmpcodecs/ae_lame.c	Tue Aug 15 14:32:50 2006 +0000
@@ -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;