From 0852e30b5374d393a297fd6f6e8e6c83b94320bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Sat, 3 May 2008 13:29:44 +0000 Subject: [PATCH] fix checkheaders when libdirac not installed Originally committed as revision 13044 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/libdirac.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/libdirac.h b/libavcodec/libdirac.h index 0abb83f8f9..528e81195b 100644 --- a/libavcodec/libdirac.h +++ b/libavcodec/libdirac.h @@ -26,6 +26,8 @@ #ifndef FFMPEG_LIBDIRAC_H #define FFMPEG_LIBDIRAC_H +#ifdef CONFIG_LIBDIRAC + #include "avcodec.h" #include @@ -41,4 +43,5 @@ static const struct { { PIX_FMT_YUV444P, format444 }, }; +#endif /* CONFIG_LIBDIRAC */ #endif /* FFMPEG_LIBDIRAC_H */