[Mplayer-cvslog] CVS: main/libmpcodecs vd_lcl.c,1.5,1.6
Sascha Sommer CVS
faust3 at mplayerhq.hu
Mon Dec 15 12:08:16 CET 2003
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv1811/libmpcodecs
Modified Files:
vd_lcl.c
Log Message:
remove zlib dependency
Index: vd_lcl.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_lcl.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- vd_lcl.c 24 Nov 2003 20:03:10 -0000 1.5
+++ vd_lcl.c 15 Dec 2003 11:07:48 -0000 1.6
@@ -208,6 +208,7 @@
}
break;
case CODEC_ZLIB:
+#ifdef HAVE_ZLIB
switch (hc->compression) {
case COMP_ZLIB_HISPEED:
mp_msg(MSGT_DECVIDEO, MSGL_INFO, "[LCL] High speed compression.\n");
@@ -225,6 +226,10 @@
}
mp_msg(MSGT_DECVIDEO, MSGL_INFO, "[LCL] Compression level for ZLIB: (%d).\n", hc->compression);
}
+#else
+ mp_msg(MSGT_DECVIDEO, MSGL_ERR, "[LCL] Zlib support not compiled.\n");
+ return 0;
+#endif
break;
default:
mp_msg(MSGT_DECVIDEO, MSGL_ERR, "[LCL] BUG! Unknown codec in compression switch.\n");
More information about the MPlayer-cvslog
mailing list