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
This commit is contained in:
gpoirier 2006-08-15 14:32:50 +00:00
parent 069a521627
commit 6c1bca9b66
1 changed files with 1 additions and 1 deletions

View File

@ -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;