mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
cosmetics: fix warnings (drop unused variables).
This commit is contained in:
parent
2f127d6af4
commit
5cc357f88a
4 changed files with 3 additions and 4 deletions
|
@ -215,7 +215,7 @@ gst_vaapi_bitplane_create(
|
|||
args->param_size,
|
||||
args->param,
|
||||
&bitplane->data_id,
|
||||
&bitplane->data);
|
||||
(void **)&bitplane->data);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -685,7 +685,7 @@ decode_buffer(GstVaapiDecoderMpeg2 *decoder, GstBuffer *buffer)
|
|||
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;
|
||||
|
||||
|
|
|
@ -909,7 +909,6 @@ decode_buffer(GstVaapiDecoderMpeg4 *decoder, GstBuffer *buffer)
|
|||
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;
|
||||
|
|
|
@ -497,7 +497,7 @@ gst_vaapi_display_create(GstVaapiDisplay *display)
|
|||
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue