[Mplayer-cvslog] CVS: main/libmpcodecs vd_lzo.c,1.3,1.4 vd_null.c,1.4,1.5
Arpi of Ize
arpi at mplayerhq.hu
Mon Oct 28 01:42:41 CET 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv23001
Modified Files:
vd_lzo.c vd_null.c
Log Message:
config_vo error handling
Index: vd_lzo.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_lzo.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- vd_lzo.c 19 Oct 2002 19:06:45 -0000 1.3
+++ vd_lzo.c 28 Oct 2002 00:42:39 -0000 1.4
@@ -142,7 +142,7 @@
return NULL;
}
- mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,priv->codec);
+ if(!mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,priv->codec)) return NULL;
init_done++;
free(tmp);
}
Index: vd_null.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_null.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- vd_null.c 31 Aug 2002 13:09:23 -0000 1.4
+++ vd_null.c 28 Oct 2002 00:42:39 -0000 1.5
@@ -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;
}
More information about the MPlayer-cvslog
mailing list