Browse Source

bit_depth_template: Use file name as multiple inclusion guard

tags/n2.2-rc1
Diego Biurrun 12 years ago
parent
commit
ba42c85247
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/bit_depth_template.c

+ 2
- 2
libavcodec/bit_depth_template.c View 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


Loading…
Cancel
Save