summaryrefslogtreecommitdiff
path: root/gst/mpegdemux/gstpesfilter.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/mpegdemux/gstpesfilter.c')
-rw-r--r--gst/mpegdemux/gstpesfilter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/mpegdemux/gstpesfilter.c b/gst/mpegdemux/gstpesfilter.c
index a19987b97..e3b65075b 100644
--- a/gst/mpegdemux/gstpesfilter.c
+++ b/gst/mpegdemux/gstpesfilter.c
@@ -459,9 +459,11 @@ gst_pes_filter_parse (GstPESFilter * filter)
push_out:
{
GstBuffer *out;
+#ifndef GST_DISABLE_GST_DEBUG
guint16 consumed;
consumed = avail - 6 - datalen;
+#endif
if (filter->unbounded_packet == FALSE) {
filter->length -= avail - 6;