aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-10-01 05:01:20 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-10-02 17:13:57 +0200
commit03a0dbaff34222970960f0df9f92b818005ee03f (patch)
tree407a471177c3ade352cf1aa28ec9764bf820ac44
parent5d10e218097008e672078bcf871f36cf57d17908 (diff)
downloadffmpeg-03a0dbaff34222970960f0df9f92b818005ee03f.tar.gz
avutil/md5: Avoid av_unused variable
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavutil/md5.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavutil/md5.c b/libavutil/md5.c
index 88596203c1..0170d8dd3f 100644
--- a/libavutil/md5.c
+++ b/libavutil/md5.c
@@ -100,7 +100,6 @@ static const uint32_t T[64] = { // T[i]= fabs(sin(i+1)<<32)
static void body(uint32_t ABCD[4], const uint8_t *src, size_t nblocks)
{
- int i av_unused;
const uint32_t *X;
uint32_t a, b, c, d, t;
@@ -113,7 +112,7 @@ static void body(uint32_t ABCD[4], const uint8_t *src, size_t nblocks)
X = (const uint32_t *)src + n * 16;
#if CONFIG_SMALL
- for (i = 0; i < 64; i++) {
+ for (int i = 0; i < 64; i++) {
CORE(i, a, b, c, d);
t = d;
d = c;