diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2008-08-30 14:15:03 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2008-08-30 14:15:03 +0000 |
commit | 5c4b6ce07956e82fb5c1d59b3fb9323c178abd99 (patch) | |
tree | ca1cf009a5acc90df96c6cc4b7da240cf8aed63b /gst/matroska/ebml-read.c | |
parent | 331b016659159035edfb8dff12d607db3941d2cd (diff) |
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.
Diffstat (limited to 'gst/matroska/ebml-read.c')
-rw-r--r-- | gst/matroska/ebml-read.c | 8 |
1 files changed, 2 insertions, 6 deletions
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; } |