avutil/sha:make const tables static const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-08-11 16:49:21 +02:00
parent 475df42eb6
commit 90b40b45d4
1 changed files with 1 additions and 1 deletions

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