mirror of https://github.com/mpv-player/mpv
fix sound encoding on BE arch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8076 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a135cafbb4
commit
f51f53d042
|
@ -739,7 +739,11 @@ case ACODEC_VBRMP3:
|
||||||
sh_audio->samplerate,
|
sh_audio->samplerate,
|
||||||
sh_audio->channels, sh_audio->sample_format, sh_audio->samplesize,
|
sh_audio->channels, sh_audio->sample_format, sh_audio->samplesize,
|
||||||
mux_a->wf->nSamplesPerSec, mux_a->wf->nChannels,
|
mux_a->wf->nSamplesPerSec, mux_a->wf->nChannels,
|
||||||
|
#ifdef WORDS_BIGENDIAN
|
||||||
|
AFMT_S16_BE, 2,
|
||||||
|
#else
|
||||||
AFMT_S16_LE, 2,
|
AFMT_S16_LE, 2,
|
||||||
|
#endif
|
||||||
4608, mux_a->h.dwRate*mux_a->wf->nChannels*2)){
|
4608, mux_a->h.dwRate*mux_a->wf->nChannels*2)){
|
||||||
mp_msg(MSGT_CPLAYER,MSGL_ERR,"Couldn't find matching filter / ao format!\n");
|
mp_msg(MSGT_CPLAYER,MSGL_ERR,"Couldn't find matching filter / ao format!\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue