summaryrefslogtreecommitdiffstats
path: root/profile
diff options
context:
space:
mode:
authorOneric <oneric@oneric.stub>2020-05-04 00:35:37 +0200
committerOleg Oshmyan <chortos@inbox.lv>2020-07-05 21:49:20 +0300
commita1cc8f2f189ee9401e43a11253c75d47e863fddc (patch)
tree8bd2ddf4ddfe77e0b927d759dd0608b5cc137214 /profile
parentaf00ba9f32b401879b43210db530bbff4c30ddfa (diff)
downloadlibass-a1cc8f2f189ee9401e43a11253c75d47e863fddc.tar.bz2
libass-a1cc8f2f189ee9401e43a11253c75d47e863fddc.tar.xz
Style-Nit: Adjust whitespaces
- Convert tabs to spaces - Ensure one space between keywords and parenthesis - Ensure space between ')' and '{' - Trim trailing whitespace
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 88934d4..4fc1ade 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;
}