提交 4776fa92 编写于 作者: G Gael Chardon 提交者: Michael Niedermayer

Log file and Windows patch by ("Gael Chardon" <gael-announcements+ffmpeg at 4now dot net>)

Originally committed as revision 2781 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 e9a4834a
......@@ -1320,7 +1320,7 @@ static int av_encode(AVFormatContext **output_files,
fprintf(stderr, "Could not allocate log buffer\n");
exit(1);
}
fread(logbuffer, 1, size, f);
size = fread(logbuffer, 1, size, f);
fclose(f);
logbuffer[size] = '\0';
codec->stats_in = logbuffer;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册