summaryrefslogtreecommitdiff
path: root/gst-libs/gst/vaapi/gstvaapiencoder_h265.c
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2016-02-03 16:45:18 +0100
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2016-02-03 20:22:46 +0100
commitd76d78cc8ea73c53e893f11753bd2ce21623f71a (patch)
tree73bd414828382379769426e0c3c48ac7cfb0ea0f /gst-libs/gst/vaapi/gstvaapiencoder_h265.c
parent9b8fb25b8c6ddfa7fd70a7ca79a468dae1376351 (diff)
downloadgst-vaapi-d76d78cc8ea73c53e893f11753bd2ce21623f71a.tar.gz
libs: fix compiler warnings
After setting the release flags, the compiler warns about a couple initialized variables. Also marked a couple of set variables as unused, because they are only used for assertion. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Diffstat (limited to 'gst-libs/gst/vaapi/gstvaapiencoder_h265.c')
-rw-r--r--gst-libs/gst/vaapi/gstvaapiencoder_h265.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiencoder_h265.c b/gst-libs/gst/vaapi/gstvaapiencoder_h265.c
index bae7577c..9d3f0b78 100644
--- a/gst-libs/gst/vaapi/gstvaapiencoder_h265.c
+++ b/gst-libs/gst/vaapi/gstvaapiencoder_h265.c
@@ -835,7 +835,7 @@ _check_vps_sps_pps_status (GstVaapiEncoderH265 * encoder,
const guint8 * nal, guint32 size)
{
guint8 nal_type;
- gsize ret;
+ G_GNUC_UNUSED gsize ret; /* FIXME */
g_assert (size);
if (encoder->vps_data && encoder->sps_data && encoder->pps_data)