diff --git a/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidecoder_h264.c b/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidecoder_h264.c index 01b1797eb4..490528c2c8 100644 --- a/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidecoder_h264.c +++ b/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidecoder_h264.c @@ -1435,7 +1435,7 @@ get_sps (GstVaapiDecoderH264 * decoder) } static void -fill_profiles (GstVaapiProfile profiles[16], guint * n_profiles_ptr, +fill_profiles (GstVaapiProfile profiles[], guint * n_profiles_ptr, GstVaapiProfile profile) { guint n_profiles = *n_profiles_ptr; @@ -1453,7 +1453,7 @@ fill_profiles (GstVaapiProfile profiles[16], guint * n_profiles_ptr, /* Fills in compatible profiles for MVC decoding */ static void -fill_profiles_mvc (GstVaapiDecoderH264 * decoder, GstVaapiProfile profiles[16], +fill_profiles_mvc (GstVaapiDecoderH264 * decoder, GstVaapiProfile profiles[], guint * n_profiles_ptr, guint dpb_size) { const gchar *const vendor_string = diff --git a/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidecoder_h265.c b/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidecoder_h265.c index ad2588857b..218a25b25e 100644 --- a/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidecoder_h265.c +++ b/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidecoder_h265.c @@ -1073,7 +1073,7 @@ gst_vaapi_decoder_h265_reset (GstVaapiDecoder * base_decoder) } static void -fill_profiles (GstVaapiProfile profiles[16], guint * n_profiles_ptr, +fill_profiles (GstVaapiProfile profiles[], guint * n_profiles_ptr, GstVaapiProfile profile) { guint n_profiles = *n_profiles_ptr;