Commit 0852e30b authored by Måns Rullgård's avatar Måns Rullgård

fix checkheaders when libdirac not installed

Originally committed as revision 13044 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 7c430093
...@@ -26,6 +26,8 @@ ...@@ -26,6 +26,8 @@
#ifndef FFMPEG_LIBDIRAC_H #ifndef FFMPEG_LIBDIRAC_H
#define FFMPEG_LIBDIRAC_H #define FFMPEG_LIBDIRAC_H
#ifdef CONFIG_LIBDIRAC
#include "avcodec.h" #include "avcodec.h"
#include <libdirac_common/dirac_types.h> #include <libdirac_common/dirac_types.h>
...@@ -41,4 +43,5 @@ static const struct { ...@@ -41,4 +43,5 @@ static const struct {
{ PIX_FMT_YUV444P, format444 }, { PIX_FMT_YUV444P, format444 },
}; };
#endif /* CONFIG_LIBDIRAC */
#endif /* FFMPEG_LIBDIRAC_H */ #endif /* FFMPEG_LIBDIRAC_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment