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>
Showing
Please register or sign in to comment