audioconvert/arm: require alignment of 16
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 14 Dec 2012 03:49:09 +0000 (04:49 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 14 Dec 2012 03:49:09 +0000 (04:49 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswresample/arm/audio_convert_init.c

index 9fdb174..ec9e62e 100644 (file)
@@ -61,5 +61,7 @@ av_cold void swri_audio_convert_init_arm(struct AudioConvert *ac,
             ac->simd_f = conv_fltp_to_s16_2ch_neon;
         if(out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLTP && channels >  2)
             ac->simd_f = conv_fltp_to_s16_nch_neon;
+        if(ac->simd_f)
+            ac->in_simd_align_mask = ac->out_simd_align_mask = 15;
     }
 }