changeset 5264:d3846ebe974d

added zlib
author alex
date Fri, 22 Mar 2002 22:14:01 +0000
parents da664f9894e8
children 1ae1e9628f4b
files libmpcodecs/Makefile libmpcodecs/vd.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/Makefile	Fri Mar 22 22:12:09 2002 +0000
+++ b/libmpcodecs/Makefile	Fri Mar 22 22:14:01 2002 +0000
@@ -3,7 +3,7 @@
 
 LIBNAME = libmpcodecs.a
 
-SRCS=dec_video.c vd.c vd_null.c vd_cinepak.c vd_qtrpza.c vd_ffmpeg.c vd_dshow.c vd_vfw.c vd_odivx.c vd_divx4.c vd_raw.c vd_xanim.c vd_msvidc.c vd_fli.c vd_qtrle.c vd_qtsmc.c vd_roqvideo.c vd_cyuv.c vd_nuv.c vd_libmpeg2.c vd_msrle.c vd_huffyuv.c
+SRCS=dec_video.c vd.c vd_null.c vd_cinepak.c vd_qtrpza.c vd_ffmpeg.c vd_dshow.c vd_vfw.c vd_odivx.c vd_divx4.c vd_raw.c vd_xanim.c vd_msvidc.c vd_fli.c vd_qtrle.c vd_qtsmc.c vd_roqvideo.c vd_cyuv.c vd_nuv.c vd_libmpeg2.c vd_msrle.c vd_huffyuv.c vd_zlib.c
 
 ifeq ($(PNG),yes)
 SRCS += vd_mpng.c
--- a/libmpcodecs/vd.c	Fri Mar 22 22:12:09 2002 +0000
+++ b/libmpcodecs/vd.c	Fri Mar 22 22:14:01 2002 +0000
@@ -45,6 +45,7 @@
 extern vd_functions_t mpcodecs_vd_ijpg;
 extern vd_functions_t mpcodecs_vd_libmpeg2;
 extern vd_functions_t mpcodecs_vd_huffyuv;
+extern vd_functions_t mpcodecs_vd_zlib;
 
 vd_functions_t* mpcodecs_vd_drivers[] = {
         &mpcodecs_vd_null,
@@ -86,6 +87,9 @@
 #endif
         &mpcodecs_vd_libmpeg2,
         &mpcodecs_vd_huffyuv,
+#ifdef HAVE_ZLIB
+        &mpcodecs_vd_zlib,
+#endif
 	NULL
 };