From: gb Date: Mon, 3 May 2010 22:50:56 +0000 (+0000) Subject: Fix build with older VA-API 0.29. X-Git-Tag: 1.19.3~503^2~3445 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=85466028ad775dd0f79c53a19a016f4d2a07fb6c;p=platform%2Fupstream%2Fgstreamer.git Fix build with older VA-API 0.29. --- 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;