OSDN Git Service
(root)
/
rec10
/
rec10-git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add bit parser
[rec10/rec10-git.git]
/
epgdump
/
util.c
diff --git
a/epgdump/util.c
b/epgdump/util.c
index
f85021f
..
a091c23
100755
(executable)
--- a/
epgdump/util.c
+++ b/
epgdump/util.c
@@
-96,9
+96,6
@@
void* allocCopy(void* src, int *boff, size_t size) {
return mem;
}
-//#define BCD(n) ((n/100)<<8)|(((n%100)/10)<<4)|(n%10)
-#define BCD(n) ((n>>4)*10+(n&0xf))
-
time_t parseMJD( unsigned char *data ) {
int tnum, year, mon, mday;
struct tm MJD;