Commit 2e9b79fc authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/wavpackenc: fix uninitialized ret

Fixes CID1108609
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 6338f1b3
......@@ -2482,7 +2482,7 @@ static int wavpack_encode_block(WavPackEncodeContext *s,
uint8_t *out, int out_size)
{
int block_size, start, end, data_size, tcount, temp, m = 0;
int i, j, ret, got_extra = 0, nb_samples = s->block_samples;
int i, j, ret = 0, got_extra = 0, nb_samples = s->block_samples;
uint32_t crc = 0xffffffffu;
struct Decorr *dpp;
PutByteContext pb;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment