tools: some manual code nicenings

Origin commit data
------------------
Branch: master
Commit: 3fd895b228
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-11-07 (Sun, 07 Nov 2021)

Origin message was:
------------------
- tools: some manual code nicenings

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-11-07 00:57:01 +01:00
parent 502d002c21
commit 52f6016058
2 changed files with 9 additions and 8 deletions

View File

@@ -69,7 +69,7 @@ int main(int argc, char **argv)
printf("converting %s -> %s\n", fname, destname);
/* it does not exist or has a different date, so call ffmpeg... */
sprintf(cmd, "ffmpeg -y -f mjpeg -i '%s' -s %s '%s' </dev/null",
fname, TARGETRES, destname);
fname, TARGETRES, destname);
system(cmd); /* TODO: use libavcodec to directly convert it */
utime(destname, &u);
}