[Mplayer-cvslog] CVS: main/drivers/radeon radeon_vid.c,1.28,1.29

Nick Kurshev nick at mplayer.dev.hu
Fri Dec 7 11:48:20 CET 2001


Update of /cvsroot/mplayer/main/drivers/radeon
In directory mplayer:/var/tmp.root/cvs-serv32181/main/drivers/radeon

Modified Files:
	radeon_vid.c 
Log Message:
Minor fixes

Index: radeon_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/drivers/radeon/radeon_vid.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- radeon_vid.c	7 Dec 2001 09:56:39 -0000	1.28
+++ radeon_vid.c	7 Dec 2001 10:48:17 -0000	1.29
@@ -934,10 +934,13 @@
     {
       long brightness;
       brightness=simple_strtol(&buf[strlen(PARAM_BRIGHTNESS)],NULL,10);
-      if(brightness >= -64 && brightness <= 63) besr.brightness = brightness;
+      if(brightness >= -64 && brightness <= 63) 
+      {
+        besr.brightness = brightness;
 	OUTREG(OV0_COLOUR_CNTL, (brightness & 0x7f) |
 				(besr.saturation << 8) |
 				(besr.saturation << 16));
+      }
     }
     else
     if(memcmp(buf,PARAM_SATURATION,min(count,strlen(PARAM_SATURATION))) == 0)




More information about the MPlayer-cvslog mailing list