~mdw
/
dvdrip
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b77f6d
)
lib.h: Make `MAXIDSZ' clearer about where the value comes from.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 25 Mar 2022 18:58:39 +0000
(18:58 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 25 Mar 2022 18:58:39 +0000
(18:58 +0000)
The number 99 is just a bit too round to believe that it's actually
carefully calculated rather than chosen arbitrarily.
lib.h
patch
|
blob
|
blame
|
history
diff --git
a/lib.h
b/lib.h
index
5e8b865
..
b3ac99a
100644
(file)
--- a/
lib.h
+++ b/
lib.h
@@
-115,7
+115,7
@@
extern void store_filename(char *buf, ident id);
#define DIF_MUSTVOLINF 1u
#define DIF_MUSTIFOHASH 2u
-#define MAXIDSZ
99
+#define MAXIDSZ
(32 + 1 + 32 + 1 + 32 + 1)
extern int dvd_id(char *p, dvd_reader_t *dvd, unsigned f, const char *file);
#endif