avcodec/dcaadpcm: fix use of uninitialized variable

Fixes CID 1409924.
pull/281/head
foo86 8 years ago
parent 34fb84a97d
commit dd4b7badb4
  1. 2
      libavcodec/dcaadpcm.c

@ -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;
int i, j, k = 0;
int vq;
int vq = -1;
int64_t err;
int64_t min_err = 1ll << 62;
int64_t corr[15];

Loading…
Cancel
Save