diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-09 17:14:15 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-09 17:14:15 +0100 |
commit | 3193a5cdbf4dac52d80f6e0e1f5b40a1a61a129e (patch) | |
tree | a8c9febbfef4cefa1806dd260fe08db6ef9289ae | |
parent | 1374b5e15b5dd900bb5a69d78491b793db1c7f38 (diff) | |
download | ffmpeg-3193a5cdbf4dac52d80f6e0e1f5b40a1a61a129e.tar.gz |
arm: put prefetch under matching #ifdef as the actual code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/arm/dsputil_init_armv5te.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/arm/dsputil_init_armv5te.c b/libavcodec/arm/dsputil_init_armv5te.c index 9fedb7a123..52c04002c6 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 } |