diff options
author | Clément Bœsch <cboesch@gopro.com> | 2017-04-10 13:46:52 +0200 |
---|---|---|
committer | Clément Bœsch <cboesch@gopro.com> | 2017-04-10 16:10:17 +0200 |
commit | 8839cbf91188098d91573fc5876454e2e0874707 (patch) | |
tree | eb8f4d732a4d9c9e9fbd02c9f163ffc35edf2f80 | |
parent | d36a3f5a78bb1e15bbaffc7b92dbeb6a50c28ca9 (diff) | |
download | ffmpeg-8839cbf91188098d91573fc5876454e2e0874707.tar.gz |
Revert "avcodec/svq1: zero initialize entries array"
This reverts commit aed84ee4d1b0c9e315a84b1ee0918fa49ee9cc09.
It is a false positive from Valgrind with recent GCC and
-funswitch-loops (present in -O3).
-rw-r--r-- | libavcodec/svq1dec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c index e5e43fc8e2..d3e60c3a4a 100644 --- a/libavcodec/svq1dec.c +++ b/libavcodec/svq1dec.c @@ -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; |