Commit e077a6b7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

RTMP access: disable strict aliasing

(cherry picked from commit 67036473)
parent 102daa0c
......@@ -5965,7 +5965,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
......
......@@ -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,4 +60,5 @@ libvlc_LTLIBRARIES += \
libaccess_http_plugin.la \
libaccess_ftp_plugin.la \
libaccess_fake_plugin.la \
libaccess_rtmp_plugin.la \
$(NULL)
SOURCES_access_rtmp = \
access.c \
rtmp_amf_flv.c \
rtmp_amf_flv.h \
$(NULL)
libvlc_LTLIBRARIES += libaccess_rtmp_plugin.la
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment