diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-07 13:26:40 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-07 13:31:40 +0200 |
commit | 7febc5aa93c16cfdeda603950af5c76e087c7b56 (patch) | |
tree | 63532b63cdd2b004a3f29fdf49f51c41b883f2a9 /libavcodec/arm/h264pred_init_arm.c | |
parent | cf753d5b598c9618e296fca084a17f035b0db382 (diff) | |
download | ffmpeg-7febc5aa93c16cfdeda603950af5c76e087c7b56.tar.gz |
arm: fix compile with disable-optimizations on android
Fixes Ticket1241
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/arm/h264pred_init_arm.c')
-rw-r--r-- | libavcodec/arm/h264pred_init_arm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/arm/h264pred_init_arm.c b/libavcodec/arm/h264pred_init_arm.c index 13aea3212f..fd2cdc0838 100644 --- a/libavcodec/arm/h264pred_init_arm.c +++ b/libavcodec/arm/h264pred_init_arm.c @@ -45,6 +45,7 @@ void ff_pred8x8_0l0_dc_neon(uint8_t *src, int stride); static void ff_h264_pred_init_neon(H264PredContext *h, int codec_id, const int bit_depth, const int chroma_format_idc) { +#if HAVE_NEON const int high_depth = bit_depth > 8; if (high_depth) @@ -74,6 +75,7 @@ static void ff_h264_pred_init_neon(H264PredContext *h, int codec_id, const int b h->pred16x16[DC_128_PRED8x8 ] = ff_pred16x16_128_dc_neon; if (codec_id != CODEC_ID_SVQ3 && codec_id != CODEC_ID_RV40 && codec_id != CODEC_ID_VP8) h->pred16x16[PLANE_PRED8x8 ] = ff_pred16x16_plane_neon; +#endif // HAVE_NEON } void ff_h264_pred_init_arm(H264PredContext *h, int codec_id, int bit_depth, const int chroma_format_idc) |