[FFmpeg-devel] [PATCH 14/17] lavc/libutvideo: fix make checkheaders.

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


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

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

diff --git a/libavcodec/libutvideo.h b/libavcodec/libutvideo.h
index a9387e1..5128ab5 100644
--- a/libavcodec/libutvideo.h
+++ b/libavcodec/libutvideo.h
@@ -27,6 +27,9 @@
 #ifndef AVCODEC_LIBUTVIDEO_H
 #define AVCODEC_LIBUTVIDEO_H
 
+#include "config.h"
+#if CONFIG_LIBUTVIDEO
+
 #include <stdlib.h>
 #include <utvideo/utvideo.h>
 #include <utvideo/Codec.h>
@@ -44,4 +47,5 @@ typedef struct {
     uint8_t *buffer;
 } UtVideoContext;
 
+#endif /* CONFIG_LIBUTVIDEO */
 #endif /* AVCODEC_LIBUTVIDEO_H */
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list