Skip to content
Snippets Groups Projects
Commit c9614bb2 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

wav: update size check for ds64

parent e472f0ea
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment