diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-04-13 11:41:45 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-04-13 11:41:45 +0000 |
commit | 0dbb651564fa4c0e4583abd1ce31ab1d2eb0f429 (patch) | |
tree | 1ad4af8a836593f7ece5b5f9df9174533b2fcb93 /libavformat | |
parent | 4a030a1fc72193bff28faaf63c7c706bda1426ae (diff) | |
download | ffmpeg-0dbb651564fa4c0e4583abd1ce31ab1d2eb0f429.tar.gz |
indent
Originally committed as revision 12805 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/avidec.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 5126842fff..c85439ec06 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -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); |