[Mplayer-cvslog] CVS: main/libvo vosub_vidix.c,1.10,1.11

Nick Kurshev nick at mplayer.dev.hu
Fri Jan 18 10:25:59 CET 2002


Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv28978/main/libvo

Modified Files:
	vosub_vidix.c 
Log Message:
Suppress return values for 'void'. 10L to Alex

Index: vosub_vidix.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vosub_vidix.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- vosub_vidix.c	18 Jan 2002 09:11:09 -0000	1.10
+++ vosub_vidix.c	18 Jan 2002 09:25:56 -0000	1.11
@@ -188,7 +188,7 @@
     if((err=vdlPlaybackOn(vidix_handler))!=0)
     {
 	printf("vosub_vidix: Can't start playback: %s\n",strerror(err));
-	return -1;
+	return;
     }
     vid_eq.brightness = vo_gamma_brightness;
     vid_eq.saturation = vo_gamma_saturation;
@@ -199,19 +199,16 @@
     vid_eq.blue_intense = vo_gamma_blue_intense;
     vid_eq.flags = VEQ_FLG_ITU_R_BT_601;
     vdlPlaybackSetEq(vidix_handler,&vid_eq);
-    return 0;
+    return;
 }
 
 void vidix_stop(void)
 {
     int err;
-
     if((err=vdlPlaybackOff(vidix_handler))!=0)
     {
 	printf("vosub_vidix: Can't stop playback: %s\n",strerror(err));
-	return -1;
     }
-    return 0;
 }
 
 void vidix_term( void )




More information about the MPlayer-cvslog mailing list