changeset 30515:9c07a0af62d8

Remove excessive ()
author reimar
date Sun, 14 Feb 2010 09:19:30 +0000
parents f43b6757e3f8
children f4e017b6921a
files libmpcodecs/vd_theora.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_theora.c	Sat Feb 13 21:32:19 2010 +0000
+++ b/libmpcodecs/vd_theora.c	Sun Feb 14 09:19:30 2010 +0000
@@ -45,7 +45,7 @@
 static int control(sh_video_t *sh,int cmd,void* arg,...){
     switch(cmd) {
     case VDCTRL_QUERY_FORMAT:
-        if ((*((int*)arg)) == IMGFMT_YV12)
+        if (*(int*)arg == IMGFMT_YV12)
 	    return CONTROL_TRUE;
 	return CONTROL_FALSE;
     }