mirror of
https://github.com/mpv-player/mpv
synced 2025-01-30 11:42:04 +00:00
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:
parent
069a521627
commit
6c1bca9b66
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user