From b1bbc087c1d00a30910673a61b2872cd629c9663 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Fri, 3 Apr 2015 20:31:47 +0200 Subject: [PATCH] encoder: avoid GstVaapiCodedBuffer redefinition The symbol GstVaapiCodedBuffer is already defined in gst-libs/gst/vaapi/gstvaapicodedbuffer.h which is loaded, at the end, by gstvaapiencoder_objects.h. Clang complains about the symbol re-definition. This patch removes that redefinition. https://bugzilla.gnome.org/show_bug.cgi?id=747312 --- gst-libs/gst/vaapi/gstvaapiencoder_objects.h | 1 - 1 file changed, 1 deletion(-) diff --git a/gst-libs/gst/vaapi/gstvaapiencoder_objects.h b/gst-libs/gst/vaapi/gstvaapiencoder_objects.h index 5f7e78bfe2..6e8945cd9f 100644 --- a/gst-libs/gst/vaapi/gstvaapiencoder_objects.h +++ b/gst-libs/gst/vaapi/gstvaapiencoder_objects.h @@ -35,7 +35,6 @@ typedef struct _GstVaapiEncMiscParam GstVaapiEncMiscParam; typedef struct _GstVaapiEncSlice GstVaapiEncSlice; typedef struct _GstVaapiEncQMatrix GstVaapiEncQMatrix; typedef struct _GstVaapiEncHuffmanTable GstVaapiEncHuffmanTable; -typedef struct _GstVaapiCodedBuffer GstVaapiCodedBuffer; typedef struct _GstVaapiEncPackedHeader GstVaapiEncPackedHeader; /* ------------------------------------------------------------------------- */