This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avformat/nutdec: Fix use of uinitialized value
Fixes CID1041175 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.7
Michael Niedermayer
10 years ago
parent
a23379a0a6
commit
56abf35151
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavformat/nutdec.c
+ 2
- 0
libavformat/nutdec.c
View File
@@ -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));
Write
Preview
Loading…
Cancel
Save