From abb56c3803f9c703f7046bf02e024df8937504fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 9 Feb 2014 23:41:36 +0100 Subject: [PATCH] asfdemux: Remove unused function --- gst/asfdemux/gstasfdemux.c | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/gst/asfdemux/gstasfdemux.c b/gst/asfdemux/gstasfdemux.c index d9e86b062f..915fefd6b1 100644 --- a/gst/asfdemux/gstasfdemux.c +++ b/gst/asfdemux/gstasfdemux.c @@ -2197,32 +2197,6 @@ gst_asf_demux_get_uint64 (guint8 ** p_data, guint64 * p_size) return ret; } -static inline guint32 -gst_asf_demux_get_var_length (guint8 type, guint8 ** p_data, guint64 * p_size) -{ - switch (type) { - case 0: - return 0; - - case 1: - g_assert (*p_size >= 1); - return gst_asf_demux_get_uint8 (p_data, p_size); - - case 2: - g_assert (*p_size >= 2); - return gst_asf_demux_get_uint16 (p_data, p_size); - - case 3: - g_assert (*p_size >= 4); - return gst_asf_demux_get_uint32 (p_data, p_size); - - default: - g_assert_not_reached (); - break; - } - return 0; -} - static gboolean gst_asf_demux_get_buffer (GstBuffer ** p_buf, guint num_bytes_to_read, guint8 ** p_data, guint64 * p_size)