From c7bd0e5cfee44609aa12e80c970b587d8fb2750e Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sun, 6 Jul 2003 23:32:55 +0000 Subject: Removed function that was only used by _loop(), which was removed by last checkin Original commit message from CVS: Removed function that was only used by _loop(), which was removed by last checkin --- gst/mpegaudioparse/gstmpegaudioparse.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'gst/mpegaudioparse') diff --git a/gst/mpegaudioparse/gstmpegaudioparse.c b/gst/mpegaudioparse/gstmpegaudioparse.c index d97fce17..1a9534f3 100644 --- a/gst/mpegaudioparse/gstmpegaudioparse.c +++ b/gst/mpegaudioparse/gstmpegaudioparse.c @@ -163,24 +163,6 @@ gst_mp3parse_init (GstMPEGAudioParse *mp3parse) mp3parse->rate = mp3parse->channels = mp3parse->layer = -1; } -static guint32 -gst_mp3parse_next_header (guchar *buf,guint32 len,guint32 start) -{ - guint32 offset = start; - int f = 0; - - while (offset < (len - 4)) { - if (buf[offset] == 0xff) - f = 1; - else if (f && ((buf[offset] >> 4) == 0x0f)) - return offset - 1; - else - f = 0; - offset++; - } - return -1; -} - static void gst_mp3parse_chain (GstPad *pad, GstBuffer *buf) { -- cgit v1.2.1