summaryrefslogtreecommitdiffstats
path: root/gst/mpegaudioparse
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2003-07-06 23:32:55 +0000
committerDavid Schleef <ds@schleef.org>2003-07-06 23:32:55 +0000
commitc7bd0e5cfee44609aa12e80c970b587d8fb2750e (patch)
tree7f1e06260d92f0399bdab9b34f7fea5c689d091f /gst/mpegaudioparse
parent95011fd7e8eb3a2ec3a87ff9dad523d18005db42 (diff)
downloadgst-plugins-bad-c7bd0e5cfee44609aa12e80c970b587d8fb2750e.tar.gz
gst-plugins-bad-c7bd0e5cfee44609aa12e80c970b587d8fb2750e.tar.bz2
gst-plugins-bad-c7bd0e5cfee44609aa12e80c970b587d8fb2750e.zip
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
Diffstat (limited to 'gst/mpegaudioparse')
-rw-r--r--gst/mpegaudioparse/gstmpegaudioparse.c18
1 files changed, 0 insertions, 18 deletions
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)
{