summaryrefslogtreecommitdiff
path: root/src/rmd_init_encoder.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2021-03-15 18:53:43 -0700
committerVito Caputo <vcaputo@pengaru.com>2021-03-15 18:53:43 -0700
commit82008ccd7ad52e7e2f917b6a1de42dbe8546b7ec (patch)
tree195a71a2c6232b953b60825383b555aed6166111 /src/rmd_init_encoder.c
parentf3f4730c2236a3f27a921d818f14bc62b0e311d0 (diff)
*: random whitespace cleanups
Mostly trailing space/tab removals, no functional changes.
Diffstat (limited to 'src/rmd_init_encoder.c')
-rw-r--r--src/rmd_init_encoder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rmd_init_encoder.c b/src/rmd_init_encoder.c
index 122b8d9..59f97ae 100644
--- a/src/rmd_init_encoder.c
+++ b/src/rmd_init_encoder.c
@@ -103,7 +103,7 @@ void rmdInitEncoder(ProgData *pdata, EncData *enc_data_t, int buffer_ready)
char *new_name = malloc(fname_length + 5);
strcpy(new_name, fname);
strcat(new_name, ".ogv");
-
+
free(pdata->args.filename);
pdata->args.filename = new_name;
}
@@ -112,14 +112,14 @@ void rmdInitEncoder(ProgData *pdata, EncData *enc_data_t, int buffer_ready)
rmdIncrementalNaming(&(pdata)->args.filename);
fprintf(stderr, "Output file: %s\n", pdata->args.filename);
}
-
+
enc_data_t->fp = fopen((pdata)->args.filename, "w");
if (enc_data_t->fp == NULL) {
fprintf(stderr, "Cannot open file %s for writting!\n", (pdata)->args.filename);
exit(13);
}
- //each stream must have a unique
+ //each stream must have a unique
srand(time(NULL));
y0 = rand() + 1;
y1 = rand() + 1;
© All Rights Reserved