]> git.sesse.net Git - vlc/commitdiff
Remove recursion into modules/codec/avcodec/
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 9 Sep 2012 12:49:12 +0000 (15:49 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 9 Sep 2012 12:49:12 +0000 (15:49 +0300)
configure.ac
modules/codec/Modules.am
modules/codec/avcodec/Modules.am [deleted file]

index 0fcd6029ed41435634f7efcd2ae9c04351bc3082..4a62ef6da6154082c96d4b4093d21e3f810a4177 100644 (file)
@@ -4065,7 +4065,6 @@ AC_CONFIG_FILES([
   modules/audio_mixer/Makefile
   modules/audio_output/Makefile
   modules/codec/Makefile
-  modules/codec/avcodec/Makefile
   modules/codec/loader/Makefile
   modules/control/Makefile
   modules/demux/Makefile
index 0638c2317d881321731da525ee0ab87b5072f5de..4dc6fd87f21b3b6b959311fa8b44f18ff9059566 100644 (file)
@@ -1,4 +1,4 @@
-SUBDIRS = loader avcodec
+SUBDIRS = loader
 noinst_HEADERS =
 
 SOURCES_a52 = a52.c a52.h
@@ -81,6 +81,45 @@ libvlc_LTLIBRARIES += \
        libstl_plugin.la \
        $(NULL)
 
+### FFmpeg/libav ###
+libavcodec_plugin_la_SOURCES = \
+       avcodec/avcommon.h \
+       avcodec/video.c \
+       avcodec/subtitle.c \
+       avcodec/audio.c \
+       avcodec/cpu.c \
+       avcodec/deinterlace.c \
+       avcodec/fourcc.c \
+       avcodec/chroma.c avcodec/chroma.h \
+       avcodec/vaapi.c \
+       avcodec/dxva2.c \
+       avcodec/vda.c \
+       avcodec/copy.c avcodec/copy.h \
+       avcodec/va.h \
+       avcodec/avcodec.c avcodec/avcodec.h
+if ENABLE_SOUT
+libavcodec_plugin_la_SOURCES += \
+       avcodec/encoder.c
+endif
+libavcodec_plugin_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_avcodec)
+libavcodec_plugin_la_LIBADD = $(AM_LIBADD) $(LIBS_avcodec)
+libavcodec_plugin_la_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_avcodec)
+if MERGE_FFMPEG
+libavcodec_plugin_la_SOURCES += \
+       ../demux/avformat/demux.c \
+       ../access/avio.c
+if ENABLE_SOUT
+libavcodec_plugin_la_SOURCES += \
+       ../demux/avformat/mux.c
+endif
+libavcodec_plugin_la_CFLAGS += -DMERGE_FFMPEG
+endif
+
+libvlc_LTLIBRARIES += \
+       $(LTLIBavcodec)
+EXTRA_LTLIBRARIES += \
+       libavcodec_plugin.la
+
 ### OpenMAX ###
 noinst_HEADERS += \
        omxil/OMX_Component.h \
diff --git a/modules/codec/avcodec/Modules.am b/modules/codec/avcodec/Modules.am
deleted file mode 100644 (file)
index a24659f..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-libavcodec_plugin_la_SOURCES = \
-       avcodec.c \
-       avcodec.h \
-       avcommon.h \
-       video.c \
-       subtitle.c \
-       audio.c \
-       cpu.c \
-       deinterlace.c \
-       fourcc.c \
-       chroma.h \
-       chroma.c \
-       vaapi.c \
-       dxva2.c \
-       vda.c \
-       copy.c \
-       copy.h \
-       va.h \
-       $(NULL)
-if ENABLE_SOUT
-libavcodec_plugin_la_SOURCES += \
-       encoder.c
-endif
-libavcodec_plugin_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_avcodec)
-libavcodec_plugin_la_LIBADD = $(AM_LIBADD) $(LIBS_avcodec)
-libavcodec_plugin_la_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_avcodec)
-
-if MERGE_FFMPEG
-libavcodec_plugin_la_SOURCES += \
-       ../../demux/avformat/demux.c \
-       ../../access/avio.c
-if ENABLE_SOUT
-libavcodec_plugin_la_SOURCES += \
-       ../../demux/avformat/mux.c
-endif
-libavcodec_plugin_la_CFLAGS += -DMERGE_FFMPEG
-endif
-
-libvlc_LTLIBRARIES += \
-       $(LTLIBavcodec)
-
-EXTRA_LTLIBRARIES += \
-       libavcodec_plugin.la