From 5c4b6ce07956e82fb5c1d59b3fb9323c178abd99 Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Sat, 30 Aug 2008 14:15:03 +0000 Subject: Make stuff compile with GST_DISABLE_GST_DEBUG. Original commit message from CVS: * ext/raw1394/gsthdv1394src.c: (gst_hdv1394src_create): * gst/alpha/gstalpha.c: (gst_alpha_get_unit_size): * gst/audiofx/audiocheblimit.c: (generate_coefficients): * gst/avi/gstavidemux.c: (gst_avi_demux_src_convert): * gst/matroska/ebml-read.c: (gst_ebml_read_element_id), (gst_ebml_read_element_length): * gst/matroska/matroska-demux.c: (gst_matroska_demux_check_subtitle_buffer): Make stuff compile with GST_DISABLE_GST_DEBUG. --- gst/matroska/ebml-read.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'gst/matroska/ebml-read.c') diff --git a/gst/matroska/ebml-read.c b/gst/matroska/ebml-read.c index bd7a71d3..5ba916af 100644 --- a/gst/matroska/ebml-read.c +++ b/gst/matroska/ebml-read.c @@ -327,11 +327,9 @@ gst_ebml_read_element_id (GstEbmlRead * ebml, guint32 * id, guint * level_up) len_mask >>= 1; } if (read > 4) { - guint64 pos = ebml->offset; - GST_ERROR_OBJECT (ebml, "Invalid EBML ID size tag (0x%x) at position %" G_GUINT64_FORMAT " (0x%" - G_GINT64_MODIFIER "x)", (guint) b, pos, pos); + G_GINT64_MODIFIER "x)", (guint) b, ebml->offset, ebml->offset); return GST_FLOW_ERROR; } @@ -383,11 +381,9 @@ gst_ebml_read_element_length (GstEbmlRead * ebml, guint64 * length, len_mask >>= 1; } if (read > 8) { - guint64 pos = ebml->offset; - GST_ERROR_OBJECT (ebml, "Invalid EBML length size tag (0x%x) at position %" G_GUINT64_FORMAT - " (0x%" G_GINT64_MODIFIER "x)", (guint) b, pos, pos); + " (0x%" G_GINT64_MODIFIER "x)", (guint) b, ebml->offset, ebml->offset); return GST_FLOW_ERROR; } -- cgit