fix checkheaders when libdirac not installed
authorMåns Rullgård <mans@mansr.com>
Sat, 3 May 2008 13:29:44 +0000 (13:29 +0000)
committerMåns Rullgård <mans@mansr.com>
Sat, 3 May 2008 13:29:44 +0000 (13:29 +0000)
Originally committed as revision 13044 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/libdirac.h

index 0abb83f..528e811 100644 (file)
@@ -26,6 +26,8 @@
 #ifndef FFMPEG_LIBDIRAC_H
 #define FFMPEG_LIBDIRAC_H
 
+#ifdef CONFIG_LIBDIRAC
+
 #include "avcodec.h"
 #include <libdirac_common/dirac_types.h>
 
@@ -41,4 +43,5 @@ static const struct {
     { PIX_FMT_YUV444P, format444 },
 };
 
+#endif /* CONFIG_LIBDIRAC */
 #endif /* FFMPEG_LIBDIRAC_H */