Skip to content
Snippets Groups Projects
Commit b7e0f88f authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

Fix demuxing of wav files with broken data header

Originally committed as revision 21746 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 40938d93
No related branches found
No related tags found
No related merge requests found
......@@ -227,6 +227,9 @@ static int wav_read_header(AVFormatContext *s,
size = data_size;
if (size < 0)
return -1;
if (!size) {
wav->data_end = INT64_MAX;
} else
wav->data_end= url_ftell(pb) + size;
return 0;
}
......
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