[FFmpeg-cvslog] dcadec: initialize variables before use
Vittorio Giovara
git at videolan.org
Thu Nov 13 14:29:15 CET 2014
ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Wed Nov 12 11:13:03 2014 +0100| [d5d2d6c3b8cff61eb26c18bbd977881cf6d5524a] | committer: Vittorio Giovara
dcadec: initialize variables before use
CC: libav-stable at libav.org
Bug-Id: CID 700751 / CID 700752
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d5d2d6c3b8cff61eb26c18bbd977881cf6d5524a
---
libavcodec/dcadec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c
index 619713e..8ca8c34 100644
--- a/libavcodec/dcadec.c
+++ b/libavcodec/dcadec.c
@@ -1462,11 +1462,11 @@ static int dca_exss_parse_asset_header(DCAContext *s)
{
int header_pos = get_bits_count(&s->gb);
int header_size;
- int channels;
+ int channels = 0;
int embedded_stereo = 0;
int embedded_6ch = 0;
int drc_code_present;
- int extensions_mask;
+ int extensions_mask = 0;
int i, j;
if (get_bits_left(&s->gb) < 16)
More information about the ffmpeg-cvslog
mailing list