summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vd_theora.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/vd_theora.c')
-rw-r--r--libmpcodecs/vd_theora.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/vd_theora.c b/libmpcodecs/vd_theora.c
index df4968cd1f..3bf7ab83b9 100644
--- a/libmpcodecs/vd_theora.c
+++ b/libmpcodecs/vd_theora.c
@@ -45,7 +45,7 @@ LIBVD_EXTERN(theora)
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;
}