Commit 4c160fa2 authored by Vittorio Giovara's avatar Vittorio Giovara

dcadec: Always initialize return variable

Silence an uninitialized warning from clang.
parent bb198c49
......@@ -1147,7 +1147,7 @@ static float dca_dmix_code(unsigned code)
static int scan_for_extensions(AVCodecContext *avctx)
{
DCAContext *s = avctx->priv_data;
int core_ss_end, ret;
int core_ss_end, ret = 0;
core_ss_end = FFMIN(s->frame_size, s->dca_buffer_size) * 8;
......
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