Mercurial > libavformat.hg
diff utils.c @ 1570:cffb8f8e1ed6 libavformat
indent
| author | michael |
|---|---|
| date | Tue, 12 Dec 2006 14:08:19 +0000 |
| parents | d440e6a53bae |
| children | edb923014029 |
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]++;
