From 5d6c111098ed88b63fe84c6298de14510871115a Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sat, 14 Feb 2009 23:45:35 +0000 Subject: [PATCH] Add avcodec.h #include so that LIBAVCODEC_VERSION_MAJOR is not undefined. Originally committed as revision 17298 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/xvmc.h | 2 ++ 1 file changed, 2 insertions(+) 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 +#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 */