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 0abb83f8f98196767ae36e3f2aea70363245c0fa..528e81195bd91a64e2649724d5437f3218c41c75 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 */