diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-10-20 01:58:51 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-10-20 02:39:32 +0200 |
commit | 2e9b79fc003f19c65f4fd6ef30748c1916ed4fa7 (patch) | |
tree | 992f98de89a22c8bf151e2cc47c518e7410d76bb /libavcodec/wavpackenc.c | |
parent | 6338f1b3c095d44c2b461550aa1e4b88d220bb78 (diff) | |
download | ffmpeg-2e9b79fc003f19c65f4fd6ef30748c1916ed4fa7.tar.gz |
avcodec/wavpackenc: fix uninitialized ret
Fixes CID1108609
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/wavpackenc.c')
-rw-r--r-- | libavcodec/wavpackenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wavpackenc.c b/libavcodec/wavpackenc.c index 10e6e141aa..d7a1c61e91 100644 --- a/libavcodec/wavpackenc.c +++ b/libavcodec/wavpackenc.c @@ -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; |