summaryrefslogtreecommitdiff
path: root/libavcodec/libxvid.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-07-21 13:11:40 -0700
committerDiego Biurrun <diego@biurrun.de>2014-07-22 11:45:07 -0700
commit67bc1ba5d75953d136bfa02ce6c0a27e9fd9dac3 (patch)
tree4af6020763a5701a6cc6275d938f3ec159dff9dd /libavcodec/libxvid.c
parent7bdd2ff6825951f7a6a6008303acfce7c2a63532 (diff)
libxvid: Drop PPC-specific CPU detection hack
It is doubtful if the hack (still) works and Xvid had ten years to fix it.
Diffstat (limited to 'libavcodec/libxvid.c')
-rw-r--r--libavcodec/libxvid.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/libavcodec/libxvid.c b/libavcodec/libxvid.c
index eab61be393..ddeceacf36 100644
--- a/libavcodec/libxvid.c
+++ b/libavcodec/libxvid.c
@@ -436,19 +436,7 @@ static av_cold int xvid_encode_init(AVCodecContext *avctx) {
xvid_gbl_init.version = XVID_VERSION;
xvid_gbl_init.debug = 0;
-
-#if ARCH_PPC
- /* Xvid's PPC support is borked, use libavcodec to detect */
-#if HAVE_ALTIVEC
- if (av_get_cpu_flags() & AV_CPU_FLAG_ALTIVEC) {
- xvid_gbl_init.cpu_flags = XVID_CPU_FORCE | XVID_CPU_ALTIVEC;
- } else
-#endif
- xvid_gbl_init.cpu_flags = XVID_CPU_FORCE;
-#else
- /* Xvid can detect on x86 */
xvid_gbl_init.cpu_flags = 0;
-#endif
/* Initialize */
xvid_global(NULL, XVID_GBL_INIT, &xvid_gbl_init, NULL);