Commit 90b40b45 authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/sha:make const tables static const

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 475df42e
......@@ -340,7 +340,7 @@ int main(void)
int i, j, k;
AVSHA ctx;
unsigned char digest[32];
const int lengths[3] = { 160, 224, 256 };
static const int lengths[3] = { 160, 224, 256 };
for (j = 0; j < 3; j++) {
printf("Testing SHA-%d\n", lengths[j]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment