[vlc-commits] avutil: Remove (broken) CPU detection on android

Rafaël Carré git at videolan.org
Fri Feb 28 11:43:53 CET 2014


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Fri Feb 28 11:33:50 2014 +0100| [0405bf4017e24be5183cc006f75e2f14f49a358a] | committer: Rafaël Carré

avutil: Remove (broken) CPU detection on android

libavutil does what we do already

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

 modules/codec/avcodec/avcommon.h |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/codec/avcodec/avcommon.h b/modules/codec/avcodec/avcommon.h
index 7610456..8c47330 100644
--- a/modules/codec/avcodec/avcommon.h
+++ b/modules/codec/avcodec/avcommon.h
@@ -81,10 +81,6 @@ static inline void vlc_init_avutil(vlc_object_t *obj)
 
     av_log_set_level(level);
 
-# if defined (__arm__) && defined (__ANDROID__)
-    if (!vlc_CPU_ARM_NEON())
-        av_set_cpu_flags(AV_CPU_FLAG_NEON);
-# endif
     msg_Dbg(obj, "CPU flags: 0x%08x", av_get_cpu_flags());
 }
 #endif



More information about the vlc-commits mailing list