Add avcodec.h #include so that LIBAVCODEC_VERSION_MAJOR is not undefined.
authorDiego Biurrun <diego@biurrun.de>
Sat, 14 Feb 2009 17:37:42 +0000 (17:37 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sat, 14 Feb 2009 17:37:42 +0000 (17:37 +0000)
Originally committed as revision 17247 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/xvmc.h

index d268da8..d31d685 100644 (file)
@@ -28,6 +28,7 @@
 #include <X11/extensions/Xvlib.h>
 #include <X11/extensions/XvMClib.h>
 
+#include "avcodec.h"
 
 //the surface should be shown, the video driver manipulates this
 #define AV_XVMC_STATE_DISPLAY_PENDING 1