# HG changeset patch # User mru # Date 1209821384 0 # Node ID 56a758caf05ca92f824027d0fed8242837d7255a # Parent 459fe563a4dc6f4007727c30c76310d10f08aac9 fix checkheaders when libdirac not installed diff -r 459fe563a4dc -r 56a758caf05c libdirac.h --- 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 @@ -41,4 +43,5 @@ { PIX_FMT_YUV444P, format444 }, }; +#endif /* CONFIG_LIBDIRAC */ #endif /* FFMPEG_LIBDIRAC_H */