Mercurial > libavformat.hg
changeset 1570:cffb8f8e1ed6 libavformat
indent
author | michael |
---|---|
date | Tue, 12 Dec 2006 14:08:19 +0000 |
parents | d440e6a53bae |
children | 1db03d7eebe1 |
files | utils.c |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.c Tue Dec 12 14:07:46 2006 +0000 +++ b/utils.c Tue Dec 12 14:08:19 2006 +0000 @@ -1895,12 +1895,12 @@ // if(st->codec->codec_type == CODEC_TYPE_VIDEO) // av_log(NULL, AV_LOG_ERROR, "%f\n", dur); if(duration_count[index] > 0){ - for(i=1; i<MAX_STD_TIMEBASES; i++){ - int framerate= get_std_framerate(i); - int ticks= lrintf(dur*framerate/(1001*12)); - double error= dur - ticks*1001*12/(double)framerate; - duration_error[index][i] += error*error; - } + for(i=1; i<MAX_STD_TIMEBASES; i++){ + int framerate= get_std_framerate(i); + int ticks= lrintf(dur*framerate/(1001*12)); + double error= dur - ticks*1001*12/(double)framerate; + duration_error[index][i] += error*error; + } } duration_count[index]++;