# HG changeset patch # User diego # Date 1234655135 0 # Node ID 856ed45c4cfa02868c8ce500fc71a51f609153ae # Parent 0e5888f9b8cbb1e34632312eb2e14140deb6451e Add avcodec.h #include so that LIBAVCODEC_VERSION_MAJOR is not undefined. diff -r 0e5888f9b8cb -r 856ed45c4cfa xvmc.h --- a/xvmc.h Sat Feb 14 23:28:09 2009 +0000 +++ b/xvmc.h Sat Feb 14 23:45:35 2009 +0000 @@ -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 */