[FFmpeg-devel] [PATCH 13/17] lavc/libutvideo: protect header.

Clément Bœsch ubitux at gmail.com
Wed May 9 10:01:38 CEST 2012


From: Clément Bœsch <clement.boesch at smartjog.com>

---
 libavcodec/libutvideo.h |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/libavcodec/libutvideo.h b/libavcodec/libutvideo.h
index 0b98b7c..a9387e1 100644
--- a/libavcodec/libutvideo.h
+++ b/libavcodec/libutvideo.h
@@ -24,6 +24,9 @@
  *     'ULY0' (YCbCr 4:2:0), 'ULY2' (YCbCr 4:2:2), 'ULRG' (RGB), 'ULRA' (RGBA)
  */
 
+#ifndef AVCODEC_LIBUTVIDEO_H
+#define AVCODEC_LIBUTVIDEO_H
+
 #include <stdlib.h>
 #include <utvideo/utvideo.h>
 #include <utvideo/Codec.h>
@@ -40,3 +43,5 @@ typedef struct {
     unsigned int buf_size;
     uint8_t *buffer;
 } UtVideoContext;
+
+#endif /* AVCODEC_LIBUTVIDEO_H */
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list