Build Failure With VA-API 0.34.0
Avcodec VA-API plugin fails to build with libva staging-20130205 (VA-API 0.34.0).
CC libavcodec_plugin_la-vaapi.lo
vaapi.c: In function 'CreateSurfaces':
vaapi.c:250:27: warning: passing argument 5 of 'vaCreateSurfaces' makes pointer from integer without a cast [enabled by default]
In file included from /usr/include/va/va_x11.h:27:0,
from vaapi.c:49:
/usr/include/va/va.h:773:1: note: expected 'VASurfaceID *' but argument is of type 'int'
vaapi.c:250:27: warning: passing argument 6 of 'vaCreateSurfaces' makes integer from pointer without a cast [enabled by default]
In file included from /usr/include/va/va_x11.h:27:0,
from vaapi.c:49:
/usr/include/va/va.h:773:1: note: expected 'unsigned int' but argument is of type 'VASurfaceID *'
vaapi.c:250:27: error: too few arguments to function 'vaCreateSurfaces'
In file included from /usr/include/va/va_x11.h:27:0,
from vaapi.c:49:
/usr/include/va/va.h:773:1: note: declared here
vaapi.c:295:19: warning: variable 'fmt' set but not used [-Wunused-but-set-variable]
VLC 2.0-git76c37c46f9a01e03dbefe7b6360cc6293d990e73