Fix build with older VA-API 0.29.

This commit is contained in:
gb 2010-05-03 22:50:56 +00:00 committed by Gwenole Beauchesne
parent e044e545e2
commit 85466028ad

View 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;