[vlc-devel] commit: avformat: fix linking with --disable-sout - closes #1655 ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Jul 2 18:14:59 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Wed Jul  2 19:14:57 2008 +0300| [8b9b6da88e06749994e79e906faa7195c1fcae56]

avformat: fix linking with --disable-sout - closes #1655

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8b9b6da88e06749994e79e906faa7195c1fcae56
---

 modules/demux/avformat/Modules.am |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/modules/demux/avformat/Modules.am b/modules/demux/avformat/Modules.am
index bb286ca..ee56c63 100644
--- a/modules/demux/avformat/Modules.am
+++ b/modules/demux/avformat/Modules.am
@@ -2,6 +2,11 @@ SOURCES_avformat = \
     avformat.c \
     avformat.h \
     demux.c \
-    mux.c \
     $(NULL)
+if ENABLE_SOUT
+SOURCES_avformat += mux.c
+endif
+EXTRA_libavformat_plugin_la_SOURCES = mux.c
 
+libvlc_LTLIBRARIES += $(LTLIBavformat)
+EXTRA_LTLIBRARIES += libavformat_plugin.la




More information about the vlc-devel mailing list