[MPlayer-cvslog] r33924 - trunk/libmpcodecs/dec_video.c

diego subversion at mplayerhq.hu
Tue Jul 26 01:30:21 CEST 2011


Author: diego
Date: Tue Jul 26 01:30:21 2011
New Revision: 33924

Log:
dec_video: drop some unnecessary casts

Modified:
   trunk/libmpcodecs/dec_video.c

Modified: trunk/libmpcodecs/dec_video.c
==============================================================================
--- trunk/libmpcodecs/dec_video.c	Tue Jul 26 01:16:28 2011	(r33923)
+++ trunk/libmpcodecs/dec_video.c	Tue Jul 26 01:30:21 2011	(r33924)
@@ -81,12 +81,12 @@ void set_video_quality(sh_video_t *sh_vi
 {
     vf_instance_t *vf = sh_video->vfilter;
     if (vf) {
-        int ret = vf->control(vf, VFCTRL_SET_PP_LEVEL, (void *) (&quality));
+        int ret = vf->control(vf, VFCTRL_SET_PP_LEVEL, &quality);
         if (ret == CONTROL_TRUE)
             return;             // success
     }
     if (mpvdec)
-        mpvdec->control(sh_video, VDCTRL_SET_PP_LEVEL, (void *) (&quality));
+        mpvdec->control(sh_video, VDCTRL_SET_PP_LEVEL, &quality);
 }
 
 int set_video_colors(sh_video_t *sh_video, const char *item, int value)


More information about the MPlayer-cvslog mailing list