10l: Unbreak libdirac compilation; CONFIG_LIBDIRAC is defined in config.h, so
authorDiego Biurrun <diego@biurrun.de>
Sat, 3 May 2008 13:55:31 +0000 (13:55 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sat, 3 May 2008 13:55:31 +0000 (13:55 +0000)
include the header before using parts from it.

Originally committed as revision 13045 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/libdirac.h

index 528e811..31cd573 100644 (file)
@@ -26,6 +26,8 @@
 #ifndef FFMPEG_LIBDIRAC_H
 #define FFMPEG_LIBDIRAC_H
 
+#include "config.h"
+
 #ifdef CONFIG_LIBDIRAC
 
 #include "avcodec.h"