aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-02-14 23:45:35 +0000
committerDiego Biurrun <diego@biurrun.de>2009-02-14 23:45:35 +0000
commit5d6c111098ed88b63fe84c6298de14510871115a (patch)
tree9a9bc9e96b2584f098fbf649c5370edefaafc0bd
parent3bffe5fc9de876329c7a866a89808950056451be (diff)
downloadffmpeg-5d6c111098ed88b63fe84c6298de14510871115a.tar.gz
Add avcodec.h #include so that LIBAVCODEC_VERSION_MAJOR is not undefined.
Originally committed as revision 17298 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/xvmc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/xvmc.h b/libavcodec/xvmc.h
index 8e6334829f..08f565a813 100644
--- a/libavcodec/xvmc.h
+++ b/libavcodec/xvmc.h
@@ -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 */