diff options
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/vd_theora.c | 2 |
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; } |