summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
authorRodeo <[email protected]>2015-06-23 16:27:04 +0000
committerRodeo <[email protected]>2015-06-23 16:27:04 +0000
commit110c304ff2113e5852a35174a7d51ffe5297483b (patch)
tree063bcfe563d4d1512be10e8fbd0d814e85ddfe2c /libhb/common.h
parenta94ce281bb6883ea3d3cb11a20d8879e9c3675d2 (diff)
Minor cleanup after last commit.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7309 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/common.h b/libhb/common.h
index 76bff6a2e..14faa31fd 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -59,6 +59,8 @@
#define MAX( a, b ) ( (a) > (b) ? (a) : (b) )
#endif
+#define HB_ALIGN(x, a) (((x)+(a)-1)&~((a)-1))
+
#ifndef HB_DEBUG_ASSERT
#define HB_DEBUG_ASSERT(x, y) { if ((x)) { hb_error("ASSERT: %s", y); exit(1); } }
#endif
@@ -70,8 +72,6 @@
#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;