diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-09-19 01:00:42 -0400 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-19 14:11:52 +0200 |
commit | 9db6c8815d9dc2f18b1a996372ec71900adb3638 (patch) | |
tree | d3bc23e07a91270aff9c4808e855d015b7c48413 | |
parent | 4328e1fc424b01488bab10d60d2ffc0102c054a1 (diff) | |
download | ffmpeg-9db6c8815d9dc2f18b1a996372ec71900adb3638.tar.gz |
avcodec/dcadec: fix a -Wsometimes-unitialized on clang
This fixes a genuine -Wsometimes-unitialized reported on clang, e.g
http://fate.ffmpeg.org/log.cgi?time=20150918181527&log=compile&slot=x86_64-darwin-clang-polly-vectorize-stripmine-3.7.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-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 bc1222b2a2..10efddadea 100644 --- a/libavcodec/dcadec.c +++ b/libavcodec/dcadec.c @@ -1456,7 +1456,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; |