aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-06-22 14:50:37 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-06-22 14:52:29 +0200
commitb6ce50a2d4ba4d4ff56a305358f16e9658e9c528 (patch)
treec8ffb3656fa0f2e5351d2d45a3beba768a7a73ce
parentd76fff7df72dc458a331709707fc5292ac609aa7 (diff)
downloadffmpeg-b6ce50a2d4ba4d4ff56a305358f16e9658e9c528.tar.gz
avutil/ripemd: adjust loop condition to silence CID1035716
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavutil/ripemd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/ripemd.c b/libavutil/ripemd.c
index 42aca8ab41..98be3ad393 100644
--- a/libavutil/ripemd.c
+++ b/libavutil/ripemd.c
@@ -263,7 +263,7 @@ static void ripemd160_transform(uint32_t *state, const uint8_t buffer[64], int e
ROUND160_48_TO_63(c,d,e,a,b,h,i,j,f,g);
SWAP(d,i)
- for (; n < 80 - 1;) {
+ for (; n < 75;) {
ROUND160_64_TO_79(b,c,d,e,a,g,h,i,j,f);
ROUND160_64_TO_79(a,b,c,d,e,f,g,h,i,j);
ROUND160_64_TO_79(e,a,b,c,d,j,f,g,h,i);