summaryrefslogtreecommitdiffstats
path: root/profile
diff options
context:
space:
mode:
Diffstat (limited to 'profile')
-rw-r--r--profile/profile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/profile/profile.c b/profile/profile.c
index 88934d46..4fc1adec 100644
--- a/profile/profile.c
+++ b/profile/profile.c
@@ -73,8 +73,8 @@ int main(int argc, char *argv[])
double tm = strtod(argv[2], 0);
double fps = strtod(argv[3], 0);
double time = strtod(argv[4], 0);
-
- if(fps == 0){
+
+ if (fps == 0) {
printf("fps cannot equal 0\n");
exit(1);
}
@@ -86,7 +86,7 @@ int main(int argc, char *argv[])
exit(1);
}
- while(tm < time){
+ while (tm < time) {
ass_render_frame(ass_renderer, track, (int) (tm * 1000), NULL);
tm += 1 / fps;
}