summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h
index 158ade247..76bff6a2e 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -70,6 +70,8 @@
#define HB_DVD_READ_BUFFER_SIZE 2048
+#define HBALIGN(x, a) (((x)+(a)-1)&~((a)-1))
+
typedef struct hb_handle_s hb_handle_t;
typedef struct hb_hwd_s hb_hwd_t;
typedef struct hb_list_s hb_list_t;