aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs/vd_roqvideo.c
diff options
context:
space:
mode:
authorGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-16 01:10:31 +0000
committerGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-16 01:10:31 +0000
commitce04a5f4019837af8250b3c7884d5570d70f08ff (patch)
tree04c47a816653381811cb4ef960be04e3e4989267 /libmpcodecs/vd_roqvideo.c
parent98a08e34c099d1d7f8457759093bf59fe4d977ea (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.c3
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