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

libavcodec/xvmc.h

index 8e63348..08f565a 100644 (file)
@@ -23,6 +23,8 @@
 
 #include <X11/extensions/XvMC.h>
 
+#include "avcodec.h"
+
 #define AV_XVMC_STATE_DISPLAY_PENDING          1  /**  the surface should be shown, the video driver manipulates this */
 #define AV_XVMC_STATE_PREDICTION               2  /**  the surface is needed for prediction, the codec manipulates this */
 #define AV_XVMC_STATE_OSD_SOURCE               4  /**  this surface is needed for subpicture rendering */