aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs/vd_cyuv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/vd_cyuv.c')
-rw-r--r--libmpcodecs/vd_cyuv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libmpcodecs/vd_cyuv.c b/libmpcodecs/vd_cyuv.c
index aba0d91baa..9e936b0715 100644
--- a/libmpcodecs/vd_cyuv.c
+++ b/libmpcodecs/vd_cyuv.c
@@ -24,8 +24,7 @@ static int control(sh_video_t *sh,int cmd,void* arg,...){
// init driver
static int init(sh_video_t *sh){
- mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,IMGFMT_UYVY);
- return 1;
+ return mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,IMGFMT_UYVY);
}
// uninit driver