[MPlayer-cvslog] CVS: main mplayer.c,1.817,1.818
Reimar Döffinger CVS
syncmail at mplayerhq.hu
Sat Dec 11 00:04:57 CET 2004
- Previous message: [MPlayer-cvslog] CVS: main/libmpcodecs Makefile,1.136,1.137
- Next message: [MPlayer-cvslog] CVS: main/libvo gl_common.c, 1.4, 1.5 gl_common.h, 1.4, 1.5 vo_gl2.c, 1.60, 1.61 w32_common.c, 1.7, 1.8 w32_common.h, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
CVS change done by Reimar Döffinger CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv22032
Modified Files:
mplayer.c
Log Message:
10l, should check for != NULL before using not after...
fixes speed setting with -nosound, fix by uau on IRC
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.817
retrieving revision 1.818
diff -u -r1.817 -r1.818
--- mplayer.c 2 Dec 2004 14:37:15 -0000 1.817
+++ mplayer.c 10 Dec 2004 23:04:54 -0000 1.818
@@ -923,9 +923,10 @@
*/
static int build_afilter_chain(sh_audio_t *sh_audio, ao_data_t *ao_data)
{
- int new_srate = sh_audio->samplerate * playback_speed;
+ int new_srate;
if (!sh_audio)
return 0;
+ new_srate = sh_audio->samplerate * playback_speed;
if (new_srate != ao_data->samplerate) {
// limits are taken from libaf/af_resample.c
if (new_srate < 8000)
- Previous message: [MPlayer-cvslog] CVS: main/libmpcodecs Makefile,1.136,1.137
- Next message: [MPlayer-cvslog] CVS: main/libvo gl_common.c, 1.4, 1.5 gl_common.h, 1.4, 1.5 vo_gl2.c, 1.60, 1.61 w32_common.c, 1.7, 1.8 w32_common.h, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list