[FFmpeg-cvslog] arm: put prefetch under matching #ifdef as the actual code

Michael Niedermayer git at videolan.org
Sun Dec 9 17:27:44 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Dec  9 17:14:15 2012 +0100| [3193a5cdbf4dac52d80f6e0e1f5b40a1a61a129e] | committer: Michael Niedermayer

arm: put prefetch under matching #ifdef as the actual code

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

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

 libavcodec/arm/dsputil_init_armv5te.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/arm/dsputil_init_armv5te.c b/libavcodec/arm/dsputil_init_armv5te.c
index 9fedb7a..52c0400 100644
--- a/libavcodec/arm/dsputil_init_armv5te.c
+++ b/libavcodec/arm/dsputil_init_armv5te.c
@@ -38,5 +38,7 @@ av_cold void ff_dsputil_init_armv5te(DSPContext *c, AVCodecContext *avctx)
         c->idct_permutation_type = FF_NO_IDCT_PERM;
     }
 
+#if HAVE_ARMV5TE_EXTERNAL
     c->prefetch = ff_prefetch_arm;
+#endif
 }



More information about the ffmpeg-cvslog mailing list