提交 3eaa8b7e 编写于 作者: M Michael Niedermayer

timestamp truncation fix?

Originally committed as revision 3832 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 a1e568bd
......@@ -409,7 +409,7 @@ static int avi_write_header(AVFormatContext *s)
parse_specific_params(stream, &au_byterate, &au_ssize, &au_scale);
put_le32(pb, au_scale); /* scale */
put_le32(pb, au_byterate); /* rate */
// av_set_pts_info(&s->streams[i], 64, au_scale, au_byterate);
av_set_pts_info(&s->streams[i], 64, au_scale, au_byterate);
put_le32(pb, 0); /* start */
avi->frames_hdr_strm[i] = url_ftell(pb); /* remember this offset to fill later */
put_le32(pb, 0); /* length, XXX: filled later */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册