libavcodec/wmavoice.c:723: error: Uninitialized Value
  The value read from remainder was never initialized.

libavcodec/wmavoice.c:723:13: 
721.         for (n = 0; n < lim; n++)
722.             s->denoise_filter_cache[n] += synth_pf[size + n];
723.         if (lim < remainder) {
                 ^
724.             memcpy(&s->denoise_filter_cache[lim], &synth_pf[size + lim],
725.                    sizeof(s->denoise_filter_cache[0]) * (remainder - lim));

static void wiener_denoise(WMAVoiceContext *s, int fcb_type,
                           float *synth_pf, int size,
                           const float *lpcs)
{
    int remainder, lim, n;
    if (fcb_type != FCB_TYPE_SILENCE) {
        float *tilted_lpcs = s->tilted_lpcs_pf,
              *coeffs = s->denoise_coeffs_pf, tilt_mem = 0;
        tilted_lpcs[0]           = 1.0;
        memcpy(&tilted_lpcs[1], lpcs, sizeof(lpcs[0]) * s->lsps);
        memset(&tilted_lpcs[s->lsps + 1], 0,
               sizeof(tilted_lpcs[0]) * (128 - s->lsps - 1));
        ff_tilt_compensation(&tilt_mem, 0.7 * tilt_factor(lpcs, s->lsps),
                             tilted_lpcs, s->lsps + 2);
        remainder = FFMIN(127 - size, size - 1);
        calc_input_response(s, tilted_lpcs, fcb_type, coeffs, remainder);
        memset(&synth_pf[size], 0, sizeof(synth_pf[0]) * (128 - size));
        ff_rdft_calc(&s->rdft, synth_pf);
        ff_rdft_calc(&s->rdft, coeffs);
        synth_pf[0] *= coeffs[0];
        synth_pf[1] *= coeffs[1];
        for (n = 1; n < 128; n++) {
            float v1 = synth_pf[n * 2], v2 = synth_pf[n * 2 + 1];
            synth_pf[n * 2]     = v1 * coeffs[n * 2] - v2 * coeffs[n * 2 + 1];
            synth_pf[n * 2 + 1] = v2 * coeffs[n * 2] + v1 * coeffs[n * 2 + 1];
        }
        ff_rdft_calc(&s->irdft, synth_pf);
    }
    if (s->denoise_filter_cache_size) {
        lim = FFMIN(s->denoise_filter_cache_size, size);
        for (n = 0; n < lim; n++)
            synth_pf[n] += s->denoise_filter_cache[n];
        s->denoise_filter_cache_size -= lim;
        memmove(s->denoise_filter_cache, &s->denoise_filter_cache[size],
                sizeof(s->denoise_filter_cache[0]) * s->denoise_filter_cache_size);
    }
    if (fcb_type != FCB_TYPE_SILENCE) {
        lim = FFMIN(remainder, s->denoise_filter_cache_size);
        for (n = 0; n < lim; n++)
            s->denoise_filter_cache[n] += synth_pf[size + n];
        if (lim < remainder) {
            memcpy(&s->denoise_filter_cache[lim], &synth_pf[size + lim],
                   sizeof(s->denoise_filter_cache[0]) * (remainder - lim));
            s->denoise_filter_cache_size = remainder;
        }
    }
}
['static void wiener_denoise(WMAVoiceContext *s, int fcb_type,\n                           float *synth_pf, int size,\n                           const float *lpcs)\n{\n    int remainder, lim, n;\n    if (fcb_type != FCB_TYPE_SILENCE) {\n        float *tilted_lpcs = s->tilted_lpcs_pf,\n              *coeffs = s->denoise_coeffs_pf, tilt_mem = 0;\n        tilted_lpcs[0]           = 1.0;\n        memcpy(&tilted_lpcs[1], lpcs, sizeof(lpcs[0]) * s->lsps);\n        memset(&tilted_lpcs[s->lsps + 1], 0,\n               sizeof(tilted_lpcs[0]) * (128 - s->lsps - 1));\n        ff_tilt_compensation(&tilt_mem, 0.7 * tilt_factor(lpcs, s->lsps),\n                             tilted_lpcs, s->lsps + 2);\n        remainder = FFMIN(127 - size, size - 1);\n        calc_input_response(s, tilted_lpcs, fcb_type, coeffs, remainder);\n        memset(&synth_pf[size], 0, sizeof(synth_pf[0]) * (128 - size));\n        ff_rdft_calc(&s->rdft, synth_pf);\n        ff_rdft_calc(&s->rdft, coeffs);\n        synth_pf[0] *= coeffs[0];\n        synth_pf[1] *= coeffs[1];\n        for (n = 1; n < 128; n++) {\n            float v1 = synth_pf[n * 2], v2 = synth_pf[n * 2 + 1];\n            synth_pf[n * 2]     = v1 * coeffs[n * 2] - v2 * coeffs[n * 2 + 1];\n            synth_pf[n * 2 + 1] = v2 * coeffs[n * 2] + v1 * coeffs[n * 2 + 1];\n        }\n        ff_rdft_calc(&s->irdft, synth_pf);\n    }\n    if (s->denoise_filter_cache_size) {\n        lim = FFMIN(s->denoise_filter_cache_size, size);\n        for (n = 0; n < lim; n++)\n            synth_pf[n] += s->denoise_filter_cache[n];\n        s->denoise_filter_cache_size -= lim;\n        memmove(s->denoise_filter_cache, &s->denoise_filter_cache[size],\n                sizeof(s->denoise_filter_cache[0]) * s->denoise_filter_cache_size);\n    }\n    if (fcb_type != FCB_TYPE_SILENCE) {\n        lim = FFMIN(remainder, s->denoise_filter_cache_size);\n        for (n = 0; n < lim; n++)\n            s->denoise_filter_cache[n] += synth_pf[size + n];\n        if (lim < remainder) {\n            memcpy(&s->denoise_filter_cache[lim], &synth_pf[size + lim],\n                   sizeof(s->denoise_filter_cache[0]) * (remainder - lim));\n            s->denoise_filter_cache_size = remainder;\n        }\n    }\n}']