OSDN Git Service

bit_depth_template: Use file name as multiple inclusion guard
authorDiego Biurrun <diego@biurrun.de>
Sun, 22 Dec 2013 13:19:28 +0000 (14:19 +0100)
committerDiego Biurrun <diego@biurrun.de>
Thu, 20 Feb 2014 12:16:15 +0000 (04:16 -0800)
libavcodec/bit_depth_template.c

index 37d02ad..8fc826b 100644 (file)
@@ -22,7 +22,7 @@
 #define BIT_DEPTH 8
 #endif
 
-#ifdef AVCODEC_H264_HIGH_DEPTH_H
+#ifdef AVCODEC_BIT_DEPTH_TEMPLATE_C
 #   undef pixel
 #   undef pixel2
 #   undef pixel4
@@ -42,7 +42,7 @@
 #   undef av_clip_pixel
 #   undef PIXEL_SPLAT_X4
 #else
-#   define AVCODEC_H264_HIGH_DEPTH_H
+#   define AVCODEC_BIT_DEPTH_TEMPLATE_C
 #endif
 
 #if BIT_DEPTH > 8