Mercurial > mplayer.hg
diff libmpcodecs/vd_null.c @ 7941:0c8d85e22ff5
config_vo error handling
| author | arpi |
|---|---|
| date | Mon, 28 Oct 2002 00:42:39 +0000 |
| parents | 1eadce15446c |
| children | 0f1b5b68af32 |
line wrap: on
line diff
--- a/libmpcodecs/vd_null.c Mon Oct 28 00:40:42 2002 +0000 +++ b/libmpcodecs/vd_null.c Mon Oct 28 00:42:39 2002 +0000 @@ -24,7 +24,7 @@ // init driver static int init(sh_video_t *sh){ - mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,IMGFMT_BGR24); + if(!mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,IMGFMT_BGR24)) return 0; return 1; }
