[vlc-devel] commit: RTMP access: disable strict aliasing ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Aug 29 15:44:11 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Aug 29 16:40:36 2009 +0300| [670364730f749f005939145fbf29def7ced1cca4] | committer: Rémi Denis-Courmont 

RTMP access: disable strict aliasing

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

 configure.ac                   |    1 -
 modules/access/Modules.am      |   13 ++++++++++++-
 modules/access/rtmp/Modules.am |    6 ------
 3 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/configure.ac b/configure.ac
index 6e434e1..c4af796 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
diff --git a/modules/access/Modules.am b/modules/access/Modules.am
index fb1065f..e043faf 100644
--- a/modules/access/Modules.am
+++ b/modules/access/Modules.am
@@ -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
index 959d4ce..0000000
--- a/modules/access/rtmp/Modules.am
+++ /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




More information about the vlc-devel mailing list