diff --git a/ext/flac/gstflactag.c b/ext/flac/gstflactag.c index cca291af42..b3cff1fbbf 100644 --- a/ext/flac/gstflactag.c +++ b/ext/flac/gstflactag.c @@ -171,9 +171,6 @@ static gboolean gst_flac_tag_sink_event (GstPad * pad, GstEvent * event) { gboolean ret; - GstFlacTag *tag; - - tag = GST_FLAC_TAG (GST_PAD_PARENT (pad)); switch (GST_EVENT_TYPE (event)) { default: diff --git a/ext/jpeg/gstjpegdec.c b/ext/jpeg/gstjpegdec.c index 13a78ffb5f..170435e0ab 100644 --- a/ext/jpeg/gstjpegdec.c +++ b/ext/jpeg/gstjpegdec.c @@ -963,7 +963,7 @@ gst_jpeg_dec_decode_direct (GstJpegDec * dec, GstVideoFrame * frame) gint lines, v_samp[3]; guchar *base[3], *last[3]; gint stride[3]; - guint width, height; + guint height; line[0] = y; line[1] = u; @@ -976,7 +976,6 @@ gst_jpeg_dec_decode_direct (GstJpegDec * dec, GstVideoFrame * frame) if (G_UNLIKELY (v_samp[0] > 2 || v_samp[1] > 2 || v_samp[2] > 2)) goto format_not_supported; - width = GST_VIDEO_FRAME_WIDTH (frame); height = GST_VIDEO_FRAME_HEIGHT (frame); for (i = 0; i < 3; i++) { diff --git a/ext/jpeg/gstjpegenc.c b/ext/jpeg/gstjpegenc.c index 80993e975c..c19e616086 100644 --- a/ext/jpeg/gstjpegenc.c +++ b/ext/jpeg/gstjpegenc.c @@ -511,7 +511,7 @@ gst_jpegenc_chain (GstPad * pad, GstBuffer * buf) { GstFlowReturn ret; GstJpegEnc *jpegenc; - guint height, width; + guint height; guchar *base[3], *end[3]; guint stride[3]; gint i, j, k; @@ -528,7 +528,6 @@ gst_jpegenc_chain (GstPad * pad, GstBuffer * buf) goto invalid_frame; height = GST_VIDEO_FRAME_HEIGHT (&frame); - width = GST_VIDEO_FRAME_WIDTH (&frame); GST_LOG_OBJECT (jpegenc, "got buffer of %lu bytes", gst_buffer_get_size (buf));