mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
Fix build with older VA-API 0.29.
This commit is contained in:
parent
e044e545e2
commit
85466028ad
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue