Commit ff24596f authored by daniel's avatar daniel

Fix demuxing of wav files with broken data header



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21746 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d224008d
......@@ -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;
}
......
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