diff libdirac.h @ 6737:dcb3b40c7b71 libavcodec

10l: Unbreak libdirac compilation; CONFIG_LIBDIRAC is defined in config.h, so include the header before using parts from it.
author diego
date Sat, 03 May 2008 13:55:31 +0000
parents 56a758caf05c
children c4a4495715dd
line wrap: on
line diff
--- a/libdirac.h	Sat May 03 13:29:44 2008 +0000
+++ b/libdirac.h	Sat May 03 13:55:31 2008 +0000
@@ -26,6 +26,8 @@
 #ifndef FFMPEG_LIBDIRAC_H
 #define FFMPEG_LIBDIRAC_H
 
+#include "config.h"
+
 #ifdef CONFIG_LIBDIRAC
 
 #include "avcodec.h"