changeset 6736:56a758caf05c libavcodec

fix checkheaders when libdirac not installed
author mru
date Sat, 03 May 2008 13:29:44 +0000
parents 459fe563a4dc
children dcb3b40c7b71
files libdirac.h
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libdirac.h	Sat May 03 13:29:39 2008 +0000
+++ b/libdirac.h	Sat May 03 13:29:44 2008 +0000
@@ -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 @@
     { PIX_FMT_YUV444P, format444 },
 };
 
+#endif /* CONFIG_LIBDIRAC */
 #endif /* FFMPEG_LIBDIRAC_H */