From 6c1bca9b66ab4d66f4d02c8cc779ee075cbdd795 Mon Sep 17 00:00:00 2001 From: gpoirier Date: Tue, 15 Aug 2006 14:32:50 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19403 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/ae_lame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpcodecs/ae_lame.c b/libmpcodecs/ae_lame.c index d0f4b051ad..5cc5af3e4c 100644 --- a/libmpcodecs/ae_lame.c +++ b/libmpcodecs/ae_lame.c @@ -96,7 +96,7 @@ static int bind_lame(audio_encoder_t *encoder, muxer_stream_t *mux_a) ((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;