ref: 75eb3afd90943c3ee4e0735289d6d9330e9be3e3
parent: 26d973d1390d42f9db8366b8bd7e7a8965f9c134
author: Jim Bankoski <[email protected]>
date: Tue Aug 19 07:47:26 EDT 2014
y4minput.c : uninitalized buffer caused garbage value warning Change-Id: I613f521680b235726b2e0f78c068c0e5d7799f76
--- a/y4minput.c
+++ b/y4minput.c
@@ -700,7 +700,7 @@
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.*/