diff options
author | 2002-03-16 01:10:31 +0000 | |
---|---|---|
committer | 2002-03-16 01:10:31 +0000 | |
commit | ce04a5f4019837af8250b3c7884d5570d70f08ff (patch) | |
tree | 04c47a816653381811cb4ef960be04e3e4989267 /libmpcodecs/vd_cyuv.c | |
parent | 98a08e34c099d1d7f8457759093bf59fe4d977ea (diff) |
handle error from mpcodecs_config_vo()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5125 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vd_cyuv.c')
-rw-r--r-- | libmpcodecs/vd_cyuv.c | 3 |
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 |