mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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
This commit is contained in:
parent
ed2362149a
commit
ae8417fa98
1 changed files with 0 additions and 18 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue