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

Rafaël Carré git at videolan.org
Tue Jul 2 18:27:21 CEST 2013


vlc/vlc-2.1 | branch: master | Rafaël Carré <funman at videolan.org> | Thu Jun 27 15:42:15 2013 +0200| [56c66d72dac30ef592855ef1ff60f1db2f9303b2] | committer: Jean-Baptiste Kempf

yadif: fix build with -O0

(cherry picked from commit 64daf779c79556e2efddebf2da04073043621477)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=56c66d72dac30ef592855ef1ff60f1db2f9303b2
---

 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