diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-16 01:10:31 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-16 01:10:31 +0000 |
commit | ce04a5f4019837af8250b3c7884d5570d70f08ff (patch) | |
tree | 04c47a816653381811cb4ef960be04e3e4989267 /libmpcodecs/vd_roqvideo.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_roqvideo.c')
-rw-r--r-- | libmpcodecs/vd_roqvideo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libmpcodecs/vd_roqvideo.c b/libmpcodecs/vd_roqvideo.c index 5aaf20c46f..f63b83bac8 100644 --- a/libmpcodecs/vd_roqvideo.c +++ b/libmpcodecs/vd_roqvideo.c @@ -27,8 +27,7 @@ static int control(sh_video_t *sh,int cmd,void* arg,...){ // init driver static int init(sh_video_t *sh){ sh->context = roq_decode_video_init(); - mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,IMGFMT_YV12); - return 1; + return mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,IMGFMT_YV12); } // uninit driver |