[FFmpeg-cvslog] avutil/ppc/cpu: Remove !ARCH_PPC64 check for mfspr, the code should now support ppc64

Michael Niedermayer git at videolan.org
Mon Jun 1 04:39:33 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jun  1 04:06:25 2015 +0200| [9806cca1eb30f911e7de0ca5c8e694e3bdf45b43] | committer: Michael Niedermayer

avutil/ppc/cpu: Remove !ARCH_PPC64 check for mfspr, the code should now support ppc64

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9806cca1eb30f911e7de0ca5c8e694e3bdf45b43
---

 libavutil/ppc/cpu.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/ppc/cpu.c b/libavutil/ppc/cpu.c
index 49646b0..cd90b3f 100644
--- a/libavutil/ppc/cpu.c
+++ b/libavutil/ppc/cpu.c
@@ -104,7 +104,7 @@ int ff_get_cpu_flags_ppc(void)
 out:
     close(fd);
     return ret;
-#elif CONFIG_RUNTIME_CPUDETECT && defined(__linux__) && !ARCH_PPC64
+#elif CONFIG_RUNTIME_CPUDETECT && defined(__linux__)
 #define PVR_G4_7400  0x000C
 #define PVR_G5_970   0x0039
 #define PVR_G5_970FX 0x003C



More information about the ffmpeg-cvslog mailing list