]> git.sesse.net Git - ffmpeg/commitdiff
Add movie file video source filter.
authorVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 19:34:10 +0000 (19:34 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 19:34:10 +0000 (19:34 +0000)
Commited in SoC by VĂ­ctor Paesa on 2008-01-31 20:55:50

Originally committed as revision 11954 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavfilter/Makefile

index a6f5480128a696e3ebd0dac5d1b00bf0c3ed95a4..272761f5be7900369f1b5796f97fb1d10b12d697 100644 (file)
@@ -1,6 +1,6 @@
 include ../config.mak
 
-CFLAGS+=-I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libswscale
+CFLAGS+=-I$(SRC_PATH)/libavformat -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libswscale
 
 OBJS = avfilter.o \
        avfiltergraph.o \
@@ -25,12 +25,18 @@ OBJS-yes = vf_crop.o \
            vf_vflip.o \
            avfiltergraphfile.o \
 
+OBJS-$(CONFIG_AVFILTER_LAVF) += vsrc_movie.o
+
 HEADERS = avfilter.h
 
 EXTRALIBS := -L$(BUILD_ROOT)/libavcodec -lavcodec$(BUILDSUF) \
              -L$(BUILD_ROOT)/libswscale -lswscale$(BUILDSUF) \
              -L$(BUILD_ROOT)/libavutil  -lavutil$(BUILDSUF) $(EXTRALIBS)
 
+ifeq ($(CONFIG_AVFILTER_LAVF),yes)
+EXTRALIBS := -L$(BUILD_ROOT)/libavformat -lavformat$(BUILDSUF) $(EXTRALIBS)
+endif
+
 NAME=avfilter
 LIBVERSION=$(LAVFILTERVERSION)
 LIBMAJOR=$(LAVFILTERMAJOR)