[MPlayer-cvslog] CVS: main mencoder.c,1.267,1.268
Jindrich Makovicka CVS
syncmail at mplayerhq.hu
Fri Feb 25 14:00:01 CET 2005
CVS change done by Jindrich Makovicka CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv17732
Modified Files:
mencoder.c
Log Message:
compile fix
Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.267
retrieving revision 1.268
diff -u -r1.267 -r1.268
--- mencoder.c 25 Feb 2005 10:17:32 -0000 1.267
+++ mencoder.c 25 Feb 2005 12:59:59 -0000 1.268
@@ -853,10 +853,9 @@
// setup filter:
if(!init_audio_filters(sh_audio,
sh_audio->samplerate,
- sh_audio->channels, sh_audio->sample_format, sh_audio->samplesize,
+ sh_audio->channels, sh_audio->sample_format,
mux_a->wf->nSamplesPerSec, mux_a->wf->nChannels,
(mux_a->wf->wBitsPerSample==8)? AF_FORMAT_U8:AF_FORMAT_S16_LE,
- mux_a->wf->wBitsPerSample/8,
16384, mux_a->wf->nAvgBytesPerSec)){
mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_NoMatchingFilter);
}
@@ -886,9 +885,9 @@
// setup filter:
if(!init_audio_filters(sh_audio,
sh_audio->samplerate,
- sh_audio->channels, sh_audio->sample_format, sh_audio->samplesize,
+ sh_audio->channels, sh_audio->sample_format,
mux_a->wf->nSamplesPerSec, mux_a->wf->nChannels,
- AF_FORMAT_S16_NE, 2,
+ AF_FORMAT_S16_NE,
4608, mux_a->h.dwRate*mux_a->wf->nChannels*2)){
mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_NoMatchingFilter);
}
@@ -1023,9 +1022,9 @@
if (!init_audio_filters(
sh_audio,
sh_audio->samplerate, sh_audio->channels,
- sh_audio->sample_format, sh_audio->samplesize,
+ sh_audio->sample_format,
mux_a->wf->nSamplesPerSec, mux_a->wf->nChannels,
- AF_FORMAT_S16_NE, 2,
+ AF_FORMAT_S16_NE,
mux_a->h.dwSuggestedBufferSize,
mux_a->h.dwSuggestedBufferSize*2)) {
mp_msg(MSGT_CPLAYER, MSGL_ERR, MSGTR_NoMatchingFilter);
@@ -1088,9 +1087,9 @@
if (!init_audio_filters(
sh_audio,
sh_audio->samplerate, sh_audio->channels,
- sh_audio->sample_format, sh_audio->samplesize,
+ sh_audio->sample_format,
mux_a->wf->nSamplesPerSec, mux_a->wf->nChannels,
- AF_FORMAT_S16_NE, 2,
+ AF_FORMAT_S16_NE,
mux_a->h.dwSuggestedBufferSize,
mux_a->h.dwSuggestedBufferSize*2)) {
mp_msg(MSGT_CPLAYER, MSGL_ERR, "Couldn't find matching filter / ao format!\n");
@@ -1246,11 +1245,9 @@
sh_audio->samplerate,
sh_audio->channels,
sh_audio->sample_format,
- sh_audio->samplesize,
mux_a->wf->nSamplesPerSec,
mux_a->wf->nChannels,
AF_FORMAT_S16_NE,
- 2,
4608,
mux_a->h.dwRate*mux_a->wf->nChannels*2))
{
More information about the MPlayer-cvslog
mailing list