diff libmpcodecs/vf_vo.c @ 6786:b16cb6cbff5a

eq reworked
author alex
date Thu, 25 Jul 2002 13:12:23 +0000
parents 5bf3ed8a17c4
children 54578e5a8050
line wrap: on
line diff
--- a/libmpcodecs/vf_vo.c	Thu Jul 25 10:27:35 2002 +0000
+++ b/libmpcodecs/vf_vo.c	Thu Jul 25 13:12:23 2002 +0000
@@ -70,13 +70,13 @@
     case VFCTRL_GET_EQUALIZER:
     {
 	va_list ap;
-	int value;
+	int *value;
 
 	if(!vo_config_count) return CONTROL_FALSE; // vo not configured?
 	va_start(ap, data);
 	value = va_arg(ap, int);
 	va_end(ap);
-	return((video_out->control(VOCTRL_GET_EQUALIZER, data, (int *)value) == VO_TRUE) ? CONTROL_TRUE : CONTROL_FALSE);
+	return((video_out->control(VOCTRL_GET_EQUALIZER, data, value) == VO_TRUE) ? CONTROL_TRUE : CONTROL_FALSE);
     }
     }
     // return video_out->control(request,data);