Browse Source

avcodec/wavpackenc: fix uninitialized ret

Fixes CID1108609

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Michael Niedermayer 12 years ago
parent
commit
2e9b79fc00
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/wavpackenc.c

+ 1
- 1
libavcodec/wavpackenc.c View File

@@ -2482,7 +2482,7 @@ static int wavpack_encode_block(WavPackEncodeContext *s,
uint8_t *out, int out_size) uint8_t *out, int out_size)
{ {
int block_size, start, end, data_size, tcount, temp, m = 0; 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; uint32_t crc = 0xffffffffu;
struct Decorr *dpp; struct Decorr *dpp;
PutByteContext pb; PutByteContext pb;


Loading…
Cancel
Save