summaryrefslogtreecommitdiffstats
path: root/libhb/handbrake/nlmeans.h
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-09-11 11:35:50 -0700
committerJohn Stebbins <[email protected]>2019-09-12 10:25:54 -0700
commit8a354a757bafb792b5189367e29cbda9a193f2b6 (patch)
tree2fcc8222fa020443a6f671d12feb4a833e1fc2bd /libhb/handbrake/nlmeans.h
parent89dbcaf6c5d02169f1f9472dc64583a0b814fdc4 (diff)
libhb: avoid harfbuzz header barrier collisions
harfbuz prefixes header barriers with HB_* which conflicts with some of handbrakes header barriers. So use prefix HANDBRAKE_* for all of our headers.
Diffstat (limited to 'libhb/handbrake/nlmeans.h')
-rw-r--r--libhb/handbrake/nlmeans.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libhb/handbrake/nlmeans.h b/libhb/handbrake/nlmeans.h
index 3ed4d7461..8c2dec0b9 100644
--- a/libhb/handbrake/nlmeans.h
+++ b/libhb/handbrake/nlmeans.h
@@ -8,6 +8,9 @@
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
+#ifndef HANDBRAKE_NLMEANS_H
+#define HANDBRAKE_NLMEANS_H
+
typedef struct
{
void (*build_integral)(uint32_t *integral,
@@ -25,3 +28,5 @@ typedef struct
} NLMeansFunctions;
void nlmeans_init_x86(NLMeansFunctions *functions);
+
+#endif // HANDBRAKE_NLMEANS_H