Fix build with older VA-API 0.29.
authorgb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
Mon, 3 May 2010 22:50:56 +0000 (22:50 +0000)
committerGwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Mon, 20 Sep 2010 10:55:44 +0000 (12:55 +0200)
gst-libs/gst/vaapi/gstvaapiprofile.c

index 3a6b78f..1c9f561 100644 (file)
@@ -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;