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.h
diff --git
a/epgdump/util.h
b/epgdump/util.h
index
a2cff51
..
1b782f8
100755
(executable)
--- a/
epgdump/util.h
+++ b/
epgdump/util.h
@@
-4,6
+4,8
@@
#define MAXSECLEN 4096
#include <time.h>
+//#define BCD(n) ((n/100)<<8)|(((n%100)/10)<<4)|(n%10)
+#define BCD(n) ((n>>4)*10+(n&0xf))
#ifdef __cplusplus
extern "C"{