diff options
author | Will Cassella <cassew@chromium.org> | 2022-09-09 22:50:32 +0000 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-09-20 18:58:23 -0300 |
commit | e601ec3c1991ee09ff45db3be4d894e5774f6f2b (patch) | |
tree | 26399b940dfb0b2a3f502e659b3b1e8c8c81a31b /libavcodec/lpc.c | |
parent | d438540d2b2f4aea86a2c475b690b8bc1bff7d0e (diff) | |
download | ffmpeg-e601ec3c1991ee09ff45db3be4d894e5774f6f2b.tar.gz |
libavformat/riffec: Zero-initialize channels in ff_get_wav_header
Clang's static analyzer complains that leaving the variable
uninitialized could lead to a code path where the uninitialized value is
written to at the end of this function.
This patch simply zero-initializes that variable to avoid that.
Signed-off-by: Will Cassella <cassew@google.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/lpc.c')
0 files changed, 0 insertions, 0 deletions