Commit 56abf351 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/nutdec: Fix use of uinitialized value

Fixes CID1041175
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a23379a0
......@@ -524,6 +524,8 @@ static int decode_info_header(NUTContext *nut)
for (i = 0; i < count; i++) {
get_str(bc, name, sizeof(name));
value = get_s(bc);
str_value[0] = 0;
if (value == -1) {
type = "UTF-8";
get_str(bc, str_value, sizeof(str_value));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment