提交 b7e0f88f 编写于 作者: D Daniel Verkamp

Fix demuxing of wav files with broken data header

Originally committed as revision 21746 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 40938d93
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册