changeset 40:721705c1f995 libavformat

--disable-risky support
author michaelni
date Wed, 29 Jan 2003 12:00:11 +0000
parents d20d414473a5
children b892b9f97291
files Makefile allformats.c
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Tue Jan 28 20:20:38 2003 +0000
+++ b/Makefile	Wed Jan 29 12:00:11 2003 +0000
@@ -11,9 +11,14 @@
 OBJS= utils.o cutils.o allformats.o
 
 # mux and demuxes
-OBJS+=mpeg.o mpegts.o ffm.o crc.o img.o raw.o rm.o asf.o \
+OBJS+=mpeg.o mpegts.o ffm.o crc.o img.o raw.o rm.o \
       avienc.o avidec.o wav.o swf.o au.o gif.o mov.o jpeg.o dv.o \
       yuv4mpeg.o
+
+ifeq ($(CONFIG_RISKY),yes)
+OBJS+= asf.o
+endif
+
 # image formats
 OBJS+= pnm.o yuv.o
 # file I/O
--- a/allformats.c	Tue Jan 28 20:20:38 2003 +0000
+++ b/allformats.c	Wed Jan 29 12:00:11 2003 +0000
@@ -35,7 +35,9 @@
     img_init();
     raw_init();
     rm_init();
+#ifdef CONFIG_RISKY
     asf_init();
+#endif
     avienc_init();
     avidec_init();
     wav_init();