RTMP access: disable strict aliasing
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 29 Aug 2009 13:40:36 +0000 (16:40 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 29 Aug 2009 13:40:36 +0000 (16:40 +0300)
configure.ac
modules/access/Modules.am
modules/access/rtmp/Modules.am [deleted file]

index 6e434e1..c4af796 100644 (file)
@@ -5159,7 +5159,6 @@ AC_CONFIG_FILES([
   modules/access/cdda/Makefile
   modules/access/rtp/Makefile
   modules/access/rtsp/Makefile
-  modules/access/rtmp/Makefile
   modules/access/vcd/Makefile
   modules/access/vcdx/Makefile
   modules/access/screen/Makefile
index fb1065f..e043faf 100644 (file)
@@ -3,7 +3,7 @@
 # obviously does not. Here is a fix for that.
 LIBTOOL=@LIBTOOL@ --tag=CC
 
-BASE_SUBDIRS = dvb mms cdda rtp rtsp rtmp vcd vcdx screen bd zip
+BASE_SUBDIRS = dvb mms cdda rtp rtsp vcd vcdx screen bd zip
 EXTRA_SUBDIRS = bda dshow
 SUBDIRS = $(BASE_SUBDIRS)
 DIST_SUBDIRS = $(BASE_SUBDIRS) $(EXTRA_SUBDIRS)
@@ -42,6 +42,16 @@ SOURCES_access_alsa = alsa.c
 SOURCES_access_oss = oss.c
 SOURCES_access_mtp = mtp.c
 
+libaccess_rtmp_plugin_la_SOURCES = \
+        rtmp/access.c \
+        rtmp/rtmp_amf_flv.c \
+        rtmp/rtmp_amf_flv.h \
+        $(NULL)
+libaccess_rtmp_plugin_la_CFLAGS = $(AM_CFLAGS) \
+       -fno-strict-aliasing
+libaccess_rtmp_plugin_la_LIBADD = $(AM_LIBADD)
+libaccess_rtmp_plugin_la_DEPENDENCIES =
+
 libvlc_LTLIBRARIES += \
        libaccess_file_plugin.la \
        libaccess_directory_plugin.la \
@@ -50,6 +60,7 @@ libvlc_LTLIBRARIES += \
        libaccess_http_plugin.la \
        libaccess_ftp_plugin.la \
        libaccess_fake_plugin.la \
+       libaccess_rtmp_plugin.la \
        $(NULL)
 
 libxcb_screen_plugin_la_SOURCES = screen/xcb.c
diff --git a/modules/access/rtmp/Modules.am b/modules/access/rtmp/Modules.am
deleted file mode 100644 (file)
index 959d4ce..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-SOURCES_access_rtmp = \
-        access.c \
-        rtmp_amf_flv.c \
-        rtmp_amf_flv.h \
-        $(NULL)
-libvlc_LTLIBRARIES += libaccess_rtmp_plugin.la