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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-12-09 17:14:15 +01:00
parent 1374b5e15b
commit 3193a5cdbf
1 changed files with 2 additions and 0 deletions

View File

@ -38,5 +38,7 @@ av_cold void ff_dsputil_init_armv5te(DSPContext *c, AVCodecContext *avctx)
c->idct_permutation_type = FF_NO_IDCT_PERM; c->idct_permutation_type = FF_NO_IDCT_PERM;
} }
#if HAVE_ARMV5TE_EXTERNAL
c->prefetch = ff_prefetch_arm; c->prefetch = ff_prefetch_arm;
#endif
} }