[vlc-devel] [PATCH] contrib: ffmpeg: enable thumb

Rafaël Carré funman at videolan.org
Wed May 2 20:01:34 CEST 2012


Depends on --enable-small and HAVE_NEON
If we use NEON, we assume at least cortex-a8 CPU which means thumb2 is supported
---
 contrib/src/ffmpeg/rules.mak |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/contrib/src/ffmpeg/rules.mak b/contrib/src/ffmpeg/rules.mak
index e91ed35..364ce21 100644
--- a/contrib/src/ffmpeg/rules.mak
+++ b/contrib/src/ffmpeg/rules.mak
@@ -33,6 +33,11 @@ endif
 
 ifdef ENABLE_SMALL
 FFMPEGCONF += --enable-small --optflags=-O2
+ifeq ($(ARCH),arm)
+ifdef HAVE_NEON
+FFMPEGCONF += --enable-thumb
+endif
+endif
 endif
 
 # XXX: REVISIT
-- 
1.7.9.5



More information about the vlc-devel mailing list