[vlc-devel] commit: contrib: turn off Thumb ISA for libavcodec and libmad ( Rémi Denis-Courmont )

Måns Rullgård mans at mansr.com
Sat Aug 29 20:49:27 CEST 2009


git at videolan.org (git version control) writes:

> diff --git a/extras/contrib/src/Patches/ffmpeg-avcodec-no-thumb.patch b/extras/contrib/src/Patches/ffmpeg-avcodec-no-thumb.patch
> new file mode 100644
> index 0000000..21b51a5
> --- /dev/null
> +++ b/extras/contrib/src/Patches/ffmpeg-avcodec-no-thumb.patch
> @@ -0,0 +1,10 @@
> +Index: ffmpeg/libavcodec/Makefile
> +===================================================================
> +--- ffmpeg/libavcodec/Makefile	(révision 19635)
> ++++ ffmpeg/libavcodec/Makefile	(copie de travail)
> +@@ -1,4 +1,5 @@
> + include $(SUBDIR)../config.mak
> ++CFLAGS+=-mno-thumb
> + 
> + NAME = avcodec
> + FFLIBS = avutil

This will probably not work properly.  The proper solution is to pass
--extra-cflags=-mno-thumb to the FFmpeg configure script.

-- 
Måns Rullgård
mans at mansr.com




More information about the vlc-devel mailing list