diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-02-13 02:20:08 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-02-13 02:20:08 +0100 |
commit | ccc48b318b56e91ef5756a30d2d1c145c58aca71 (patch) | |
tree | 30642b50f74f8128ade935b6f9d3548641eb56b4 /libavcodec/arm | |
parent | 429f742a61e79326c1b089e172694f847219c70d (diff) | |
download | ffmpeg-ccc48b318b56e91ef5756a30d2d1c145c58aca71.tar.gz |
avcodec/arm/int_neon: fix handling sizes % 16 != 0
This assumes the array is sufficiently padded with 0
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/arm')
-rw-r--r-- | libavcodec/arm/int_neon.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/arm/int_neon.S b/libavcodec/arm/int_neon.S index 7751a5531d..ba840656fe 100644 --- a/libavcodec/arm/int_neon.S +++ b/libavcodec/arm/int_neon.S @@ -35,7 +35,7 @@ function ff_scalarproduct_int16_neon, export=1 vmlal.s16 q2, d18, d22 vmlal.s16 q3, d19, d23 subs r2, r2, #16 - bne 1b + bgt 1b vpadd.s32 d16, d0, d1 vpadd.s32 d17, d2, d3 @@ -75,7 +75,7 @@ function ff_scalarproduct_and_madd_int16_neon, export=1 vst1.16 {q10}, [r12,:128]! subs r3, r3, #16 vst1.16 {q13}, [r12,:128]! - bne 1b + bgt 1b vpadd.s32 d16, d0, d1 vpadd.s32 d17, d2, d3 |