Skip to content

Commit fb653c0

Browse files
committed
gpujpegtool: print also built date+time
it can be useful, alongside printed Git commit hash Removed condition for GIT_REV (unnecessary - either real version or "unknown" by preprocessor above).
1 parent ba0ce36 commit fb653c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,8 @@ parse_pixel_format(const char *arg)
230230
int
231231
main(int argc, char *argv[])
232232
{
233-
printf("GPUJPEG rev %s\n", strlen(GIT_REV) > 0 ? GIT_REV : "unknown");
233+
234+
printf("GPUJPEG rev %s built " __DATE__ " " __TIME__ " \n", GIT_REV);
234235

235236
int ret = EXIT_SUCCESS;
236237
// Default coder parameters

0 commit comments

Comments
 (0)