From 4c160fa23996c05efcd952ccfac2359311d8a1bc Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Fri, 2 Oct 2015 12:43:44 +0200 Subject: [PATCH] dcadec: Always initialize return variable Silence an uninitialized warning from clang. --- libavcodec/dcadec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c index 47d3c444f0..33658288af 100644 --- a/libavcodec/dcadec.c +++ b/libavcodec/dcadec.c @@ -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;