[vlc-commits] yadif: fix build with -O0

Rafaël Carré git at videolan.org
Thu Jun 27 15:43:06 CEST 2013


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Jun 27 15:42:15 2013 +0200| [64daf779c79556e2efddebf2da04073043621477] | committer: Rafaël Carré

yadif: fix build with -O0

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

 modules/video_filter/Modules.am |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/video_filter/Modules.am b/modules/video_filter/Modules.am
index 183009a..6bb5eac 100644
--- a/modules/video_filter/Modules.am
+++ b/modules/video_filter/Modules.am
@@ -25,7 +25,8 @@ libdeinterlace_plugin_la_SOURCES = \
 	deinterlace/yadif.h deinterlace/yadif_template.h \
 	deinterlace/algo_phosphor.c deinterlace/algo_phosphor.h \
 	deinterlace/algo_ivtc.c deinterlace/algo_ivtc.h
-libdeinterlace_plugin_la_CFLAGS = $(AM_CFLAGS)
+# inline ASM doesn't build with -O0
+libdeinterlace_plugin_la_CFLAGS = $(AM_CFLAGS) -O2
 libdeinterlace_plugin_la_LIBADD = $(AM_LIBADD)
 if HAVE_NEON
 libdeinterlace_plugin_la_SOURCES += deinterlace/merge_arm.S



More information about the vlc-commits mailing list