From 85466028ad775dd0f79c53a19a016f4d2a07fb6c Mon Sep 17 00:00:00 2001 From: gb Date: Mon, 3 May 2010 22:50:56 +0000 Subject: [PATCH] Fix build with older VA-API 0.29. --- gst-libs/gst/vaapi/gstvaapiprofile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/vaapi/gstvaapiprofile.c b/gst-libs/gst/vaapi/gstvaapiprofile.c index 3a6b78f..1c9f561 100644 --- a/gst-libs/gst/vaapi/gstvaapiprofile.c +++ b/gst-libs/gst/vaapi/gstvaapiprofile.c @@ -161,7 +161,7 @@ static GstVaapiProfile gst_vaapi_profile_from_codec_data_h264(GstBuffer *buffer) { /* MPEG-4 Part 15: Advanced Video Coding (AVC) file format */ - uint8_t * const buf = GST_BUFFER_DATA(buffer); + guchar * const buf = GST_BUFFER_DATA(buffer); if (buf[0] != 1) /* configurationVersion = 1 */ return 0; -- 2.7.4