1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

Revert "avcodec/svq1: zero initialize entries array"

This reverts commit aed84ee4d1.

It is a false positive from Valgrind with recent GCC and
-funswitch-loops (present in -O3).
This commit is contained in:
Clément Bœsch 2017-04-10 13:46:52 +02:00
parent d36a3f5a78
commit 8839cbf911

View File

@ -160,7 +160,7 @@ static int svq1_decode_block_intra(GetBitContext *bitbuf, uint8_t *pixels,
uint8_t *list[63];
uint32_t *dst;
const uint32_t *codebook;
int entries[6] = { 0 };
int entries[6];
int i, j, m, n;
int stages;
unsigned mean;
@ -227,7 +227,7 @@ static int svq1_decode_block_non_intra(GetBitContext *bitbuf, uint8_t *pixels,
uint8_t *list[63];
uint32_t *dst;
const uint32_t *codebook;
int entries[6] = { 0 };
int entries[6];
int i, j, m, n;
int stages;
unsigned mean;