From fd7d38f7d26b11e592638092b4073b5c1764f255 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Mon, 28 Aug 2017 18:32:32 +0200 Subject: [PATCH] libs: encoders: remove unused cast macros They are only used inside the code, where another macro is defined. Thus these exported macros have no use. --- gst-libs/gst/vaapi/gstvaapiencoder_h264.h | 3 --- gst-libs/gst/vaapi/gstvaapiencoder_h265.h | 3 --- gst-libs/gst/vaapi/gstvaapiencoder_jpeg.h | 3 --- gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.h | 3 --- gst-libs/gst/vaapi/gstvaapiencoder_vp8.h | 3 --- gst-libs/gst/vaapi/gstvaapiencoder_vp9.h | 3 --- 6 files changed, 18 deletions(-) diff --git a/gst-libs/gst/vaapi/gstvaapiencoder_h264.h b/gst-libs/gst/vaapi/gstvaapiencoder_h264.h index 89eab76..0ba54ed 100644 --- a/gst-libs/gst/vaapi/gstvaapiencoder_h264.h +++ b/gst-libs/gst/vaapi/gstvaapiencoder_h264.h @@ -29,9 +29,6 @@ G_BEGIN_DECLS -#define GST_VAAPI_ENCODER_H264(encoder) \ - ((GstVaapiEncoderH264 *) (encoder)) - typedef struct _GstVaapiEncoderH264 GstVaapiEncoderH264; /** diff --git a/gst-libs/gst/vaapi/gstvaapiencoder_h265.h b/gst-libs/gst/vaapi/gstvaapiencoder_h265.h index ec8483e..3554ef1 100644 --- a/gst-libs/gst/vaapi/gstvaapiencoder_h265.h +++ b/gst-libs/gst/vaapi/gstvaapiencoder_h265.h @@ -28,9 +28,6 @@ G_BEGIN_DECLS -#define GST_VAAPI_ENCODER_H265(encoder) \ - ((GstVaapiEncoderH265 *) (encoder)) - typedef struct _GstVaapiEncoderH265 GstVaapiEncoderH265; /** diff --git a/gst-libs/gst/vaapi/gstvaapiencoder_jpeg.h b/gst-libs/gst/vaapi/gstvaapiencoder_jpeg.h index a18c7e2..108d030 100644 --- a/gst-libs/gst/vaapi/gstvaapiencoder_jpeg.h +++ b/gst-libs/gst/vaapi/gstvaapiencoder_jpeg.h @@ -27,9 +27,6 @@ G_BEGIN_DECLS -#define GST_VAAPI_ENCODER_JPEG(encoder) \ - ((GstVaapiEncoderJpeg *) (encoder)) - typedef struct _GstVaapiEncoderJpeg GstVaapiEncoderJpeg; /** diff --git a/gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.h b/gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.h index 923ad1d..c81cc6c 100644 --- a/gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.h +++ b/gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.h @@ -28,9 +28,6 @@ G_BEGIN_DECLS -#define GST_VAAPI_ENCODER_MPEG2(encoder) \ - ((GstVaapiEncoderMpeg2 *) (encoder)) - typedef struct _GstVaapiEncoderMpeg2 GstVaapiEncoderMpeg2; /** diff --git a/gst-libs/gst/vaapi/gstvaapiencoder_vp8.h b/gst-libs/gst/vaapi/gstvaapiencoder_vp8.h index a48bf46..c362eba 100644 --- a/gst-libs/gst/vaapi/gstvaapiencoder_vp8.h +++ b/gst-libs/gst/vaapi/gstvaapiencoder_vp8.h @@ -27,9 +27,6 @@ G_BEGIN_DECLS -#define GST_VAAPI_ENCODER_VP8(encoder) \ - ((GstVaapiEncoderVP8 *) (encoder)) - typedef struct _GstVaapiEncoderVP8 GstVaapiEncoderVP8; /** diff --git a/gst-libs/gst/vaapi/gstvaapiencoder_vp9.h b/gst-libs/gst/vaapi/gstvaapiencoder_vp9.h index 7967a98..3723ddb 100644 --- a/gst-libs/gst/vaapi/gstvaapiencoder_vp9.h +++ b/gst-libs/gst/vaapi/gstvaapiencoder_vp9.h @@ -27,9 +27,6 @@ G_BEGIN_DECLS -#define GST_VAAPI_ENCODER_VP9(encoder) \ - ((GstVaapiEncoderVP9 *) (encoder)) - typedef struct _GstVaapiEncoderVP9 GstVaapiEncoderVP9; /** -- 2.7.4