[Ffmpeg-cvslog] r7403 - trunk/libavformat/utils.c

michael subversion
Tue Jan 2 21:35:46 CET 2007


Author: michael
Date: Tue Jan  2 21:35:46 2007
New Revision: 7403

Modified:
   trunk/libavformat/utils.c

Log:
indention


Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	(original)
+++ trunk/libavformat/utils.c	Tue Jan  2 21:35:46 2007
@@ -1897,12 +1897,12 @@
 //                    av_log(NULL, AV_LOG_ERROR, "%f\n", dur);
                 if(duration_count[index] < 2)
                     memset(duration_error, 0, sizeof(duration_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;
-                    }
+                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]++;
 
                 if(st->codec_info_nb_frames == 0 && 0)




More information about the ffmpeg-cvslog mailing list