diff options
author | Oneric <oneric@oneric.stub> | 2020-05-04 00:35:37 +0200 |
---|---|---|
committer | Oleg Oshmyan <chortos@inbox.lv> | 2020-07-05 21:49:20 +0300 |
commit | a1cc8f2f189ee9401e43a11253c75d47e863fddc (patch) | |
tree | 8bd2ddf4ddfe77e0b927d759dd0608b5cc137214 /profile/profile.c | |
parent | af00ba9f32b401879b43210db530bbff4c30ddfa (diff) | |
download | libass-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/profile.c')
-rw-r--r-- | profile/profile.c | 6 |
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; } |