Commit dd4b7bad authored by foo86's avatar foo86

avcodec/dcaadpcm: fix use of uninitialized variable

Fixes CID 1409924.
parent 34fb84a9
...@@ -80,7 +80,7 @@ static int64_t find_best_filter(const DCAADPCMEncContext *s, const int32_t *in, ...@@ -80,7 +80,7 @@ static int64_t find_best_filter(const DCAADPCMEncContext *s, const int32_t *in,
{ {
const premultiplied_coeffs *precalc_data = s->private_data; const premultiplied_coeffs *precalc_data = s->private_data;
int i, j, k = 0; int i, j, k = 0;
int vq; int vq = -1;
int64_t err; int64_t err;
int64_t min_err = 1ll << 62; int64_t min_err = 1ll << 62;
int64_t corr[15]; int64_t corr[15];
......
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