Browse Source

avutil/sha:make const tables static const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Michael Niedermayer 11 years ago
parent
commit
90b40b45d4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavutil/sha.c

+ 1
- 1
libavutil/sha.c View File

@@ -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]);


Loading…
Cancel
Save