mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/dcaadpcm: fix use of uninitialized variable
Fixes CID 1409924.
This commit is contained in:
parent
34fb84a97d
commit
dd4b7badb4
@ -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];
|
||||||
|
Loading…
Reference in New Issue
Block a user