args->param_size,
args->param,
&bitplane->data_id,
- &bitplane->data);
+ (void **)&bitplane->data);
}
static void
gst_adapter_flush(priv->adapter, ofs);
size -= ofs;
- status = gst_vaapi_decoder_check_status(decoder);
+ status = gst_vaapi_decoder_check_status(GST_VAAPI_DECODER(decoder));
if (status != GST_VAAPI_DECODER_STATUS_SUCCESS)
break;
static GstVaapiDecoderStatus
decode_codec_data(GstVaapiDecoderMpeg4 *decoder, GstBuffer *buffer)
{
- GstVaapiDecoderMpeg4Private * const priv = decoder->priv;
GstVaapiDecoderStatus status;
guchar *buf, *_buf;
guint pos, buf_size, _buf_size;
flags = g_new(guint, n);
if (!formats || !flags)
goto end;
- status = vaQuerySubpictureFormats(priv->display, formats, flags, &n);
+ status = vaQuerySubpictureFormats(priv->display, formats, flags, (guint *)&n);
if (!vaapi_check_status(status, "vaQuerySubpictureFormats()"))
goto end;