changeset 4940:098970f06dc2

patch by Nilmoni Deb <ndeb@ece.cmu.edu>: "Ok folks, I got it at last. It must have been a careless error caused during cut and paste. So here's the patch. " which is shortened to '10L' in mplayer dev's language ;)
author pl
date Tue, 05 Mar 2002 08:51:57 +0000
parents 0b4e8f3e0f4a
children 9a468a190c4c
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Tue Mar 05 01:13:04 2002 +0000
+++ b/mplayer.c	Tue Mar 05 08:51:57 2002 +0000
@@ -2534,7 +2534,7 @@
       if(abs)
 	v_bright = v > 100 ? 100 : v;
       else {
-	if ( (v_bright += v) > 100 ) v_cont = 100;
+	if ( (v_bright += v) > 100 ) v_bright = 100;
       }
       if(v_hw_equ_cap & VEQ_CAP_BRIGHTNESS) {
 	if(v_bright < -100) v_bright = -100;