summaryrefslogtreecommitdiff
path: root/y4minput.c
diff options
context:
space:
mode:
authorJim Bankoski <jimbankoski@google.com>2014-08-19 11:47:26 -0700
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2014-08-21 17:28:32 -0700
commit75eb3afd90943c3ee4e0735289d6d9330e9be3e3 (patch)
tree41870ff245e54dab426e8e704ac65e0a6150f905 /y4minput.c
parent26d973d1390d42f9db8366b8bd7e7a8965f9c134 (diff)
downloadlibvpx-75eb3afd90943c3ee4e0735289d6d9330e9be3e3.tar
libvpx-75eb3afd90943c3ee4e0735289d6d9330e9be3e3.tar.gz
libvpx-75eb3afd90943c3ee4e0735289d6d9330e9be3e3.tar.bz2
libvpx-75eb3afd90943c3ee4e0735289d6d9330e9be3e3.zip
y4minput.c : uninitalized buffer caused garbage value warning
Change-Id: I613f521680b235726b2e0f78c068c0e5d7799f76
Diffstat (limited to 'y4minput.c')
-rw-r--r--y4minput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/y4minput.c b/y4minput.c
index 520c33248..e66fad187 100644
--- a/y4minput.c
+++ b/y4minput.c
@@ -700,7 +700,7 @@ static void y4m_convert_null(y4m_input *_y4m, unsigned char *_dst,
int y4m_input_open(y4m_input *_y4m, FILE *_fin, char *_skip, int _nskip,
int only_420) {
- char buffer[80];
+ char buffer[80] = {0};
int ret;
int i;
/*Read until newline, or 80 cols, whichever happens first.*/