[FFmpeg-cvslog] lavc/libutvideo: protect header.

Clément Bœsch git at videolan.org
Fri May 18 23:44:50 CEST 2012


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Wed May  9 09:06:06 2012 +0200| [5b70e28c6ec9ddb8d6713460d3d9e7acdc80146a] | committer: Clément Bœsch

lavc/libutvideo: protect header.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5b70e28c6ec9ddb8d6713460d3d9e7acdc80146a
---

 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 */



More information about the ffmpeg-cvslog mailing list