[Mplayer-cvslog] CVS: main/libmpcodecs Makefile,1.65,1.66 vd.c,1.56,1.57 vd_lzo.c,1.1,1.2

Alex Beregszaszi alex at mplayerhq.hu
Sat Oct 19 20:57:06 CEST 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv5532

Modified Files:
	Makefile vd.c vd_lzo.c 
Log Message:
support to use minilzo lib alternatively

Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/Makefile,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -r1.65 -r1.66
--- Makefile	16 Oct 2002 18:40:03 -0000	1.65
+++ Makefile	19 Oct 2002 18:56:48 -0000	1.66
@@ -5,7 +5,7 @@
 LIBNAME2 = libmpencoders.a
 
 AUDIO_SRCS=dec_audio.c ad.c ad_liba52.c ad_acm.c ad_alaw.c ad_dk3adpcm.c ad_dshow.c ad_dvdpcm.c ad_ffmpeg.c ad_hwac3.c ad_imaadpcm.c ad_mp3lib.c ad_msadpcm.c ad_pcm.c ad_roqaudio.c ad_msgsm.c ad_faad.c ad_libvorbis.c ad_libmad.c ad_realaud.c ad_libdv.c
-VIDEO_SRCS=dec_video.c vd.c vd_null.c vd_realvid.c vd_cinepak.c vd_qtrpza.c vd_ffmpeg.c vd_dshow.c vd_vfw.c vd_vfwex.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_mpegpes.c vd_svq1.c vd_xvid.c vd_libdv.c vd_lcl.c vd_mtga.c
+VIDEO_SRCS=dec_video.c vd.c vd_null.c vd_realvid.c vd_cinepak.c vd_qtrpza.c vd_ffmpeg.c vd_dshow.c vd_vfw.c vd_vfwex.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_mpegpes.c vd_svq1.c vd_xvid.c vd_libdv.c vd_lcl.c vd_mtga.c vd_lzo.c
 VFILTER_SRCS=vf.c vf_vo.c vf_crop.c vf_expand.c vf_pp.c vf_scale.c vf_format.c vf_yuy2.c vf_flip.c vf_rgb2bgr.c vf_rotate.c vf_mirror.c vf_palette.c vf_lavc.c vf_dvbscale.c vf_cropdetect.c vf_test.c vf_noise.c vf_yvu9.c vf_rectangle.c vf_lavcdeint.c vf_eq.c vf_eq2.c vf_halfpack.c vf_dint.c vf_1bpp.c
 ENCODER_SRCS=ve.c ve_divx4.c ve_lavc.c ve_vfw.c ve_rawrgb.c ve_libdv.c ve_xvid.c
 NATIVE_SRCS=native/RTjpegN.c native/cinepak.c native/cyuv.c native/fli.c native/minilzo.c native/msvidc.c native/nuppelvideo.c native/qtrle.c native/qtrpza.c native/qtsmc.c native/roqav.c native/xa_gsm.c native/svq1.c
@@ -20,10 +20,6 @@
 
 ifeq ($(JPEG),yes)
 VIDEO_SRCS += vd_ijpg.c
-endif
-
-ifeq ($(LZO),yes)
-VIDEO_SRCS += vd_lzo.c
 endif
 
 SRCS=$(AUDIO_SRCS) $(VIDEO_SRCS) $(VFILTER_SRCS) $(NATIVE_SRCS) img_format.c

Index: vd.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- vd.c	13 Oct 2002 21:40:10 -0000	1.56
+++ vd.c	19 Oct 2002 18:56:48 -0000	1.57
@@ -77,9 +77,7 @@
         &mpcodecs_vd_divx4,
 #endif
 #endif
-#ifdef USE_LZO
         &mpcodecs_vd_lzo,
-#endif
         &mpcodecs_vd_raw,
         &mpcodecs_vd_msrle,
         &mpcodecs_vd_msvidc,

Index: vd_lzo.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_lzo.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- vd_lzo.c	13 Oct 2002 21:40:10 -0000	1.1
+++ vd_lzo.c	19 Oct 2002 18:56:48 -0000	1.2
@@ -6,7 +6,13 @@
 
 #include "vd_internal.h"
 
+#ifdef USE_LZO
 #include <lzo1x.h>
+#else
+#include "native/minilzo.h"
+#define lzo_malloc malloc
+#define lzo_free free
+#endif
 
 #define MOD_NAME "DecLZO"
 




More information about the MPlayer-cvslog mailing list