diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-10-02 12:43:44 +0200 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-10-04 13:06:27 +0200 |
commit | 4c160fa23996c05efcd952ccfac2359311d8a1bc (patch) | |
tree | fbb230bbba79c4d1fb8595a17c92d81cec5670a8 /libavcodec | |
parent | bb198c4997d5036f3bf91de51e44f807115677d0 (diff) | |
download | ffmpeg-4c160fa23996c05efcd952ccfac2359311d8a1bc.tar.gz |
dcadec: Always initialize return variable
Silence an uninitialized warning from clang.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/dcadec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |