提交 0dbb6515 编写于 作者: M Michael Niedermayer

indent

Originally committed as revision 12805 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 4a030a1f
......@@ -380,13 +380,13 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
ast->scale = get_le32(pb);
ast->rate = get_le32(pb);
if(!(ast->scale && ast->rate)){
if(frame_period){
ast->rate = 1000000;
ast->scale = frame_period;
}else{
ast->rate = 25;
ast->scale = 1;
}
if(frame_period){
ast->rate = 1000000;
ast->scale = frame_period;
}else{
ast->rate = 25;
ast->scale = 1;
}
}
av_set_pts_info(st, 64, ast->scale, ast->rate);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册