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
wav: update size check for ds64
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.8
Michael Niedermayer
14 years ago
parent
e472f0ea5a
commit
c9614bb22c
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/wav.c
+ 1
- 1
libavformat/wav.c
View File
@@ -323,7 +323,7 @@ static int wav_read_header(AVFormatContext *s,
if (avio_rl32(pb) != MKTAG('d', 's', '6', '4'))
return -1;
size = avio_rl32(pb);
if (size <
16
)
if (size <
24
)
return -1;
avio_rl64(pb); /* RIFF size */
data_size = avio_rl64(pb);
Write
Preview
Loading…
Cancel
Save