From bdb814f6ef56edca67e1241eb16df22fdd8ab17c Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 6 Dec 2005 19:55:58 +0000 Subject: expand tabs Original commit message from CVS: expand tabs --- gst/mpegaudioparse/gstmpegaudioparse.c | 16 ++++++++-------- gst/mpegaudioparse/gstmpegaudioparse.h | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'gst/mpegaudioparse') diff --git a/gst/mpegaudioparse/gstmpegaudioparse.c b/gst/mpegaudioparse/gstmpegaudioparse.c index 08213529..507b30dc 100644 --- a/gst/mpegaudioparse/gstmpegaudioparse.c +++ b/gst/mpegaudioparse/gstmpegaudioparse.c @@ -180,12 +180,12 @@ mp3_type_frame_length_from_header (guint32 header, guint * put_layer, * (0.024%) per try. This makes the function for calculating false positives * 1 - (1 - ((63 / 2 ^18) ^ GST_MP3_TYPEFIND_MIN_HEADERS)) ^ buffersize) * This has the following probabilities of false positives: - * bufsize MIN_HEADERS - * (bytes) 1 2 3 4 - * 4096 62.6% 0.02% 0% 0% - * 16384 98% 0.09% 0% 0% - * 1 MiB 100% 5.88% 0% 0% - * 1 GiB 100% 100% 1.44% 0% + * bufsize MIN_HEADERS + * (bytes) 1 2 3 4 + * 4096 62.6% 0.02% 0% 0% + * 16384 98% 0.09% 0% 0% + * 1 MiB 100% 5.88% 0% 0% + * 1 GiB 100% 100% 1.44% 0% * 1 TiB 100% 100% 100% 0.35% * This means that the current choice (3 headers by most of the time 4096 byte * buffers is pretty safe for now. @@ -361,8 +361,8 @@ gst_mp3parse_chain (GstPad * pad, GstBuffer * buf) /* mask the bits which are allowed to differ between frames */ #define HDRMASK ~((0xF << 12) /* bitrate */ | \ - (0x1 << 9) /* padding */ | \ - (0x3 << 4)) /*mode extension */ + (0x1 << 9) /* padding */ | \ + (0x3 << 4)) /*mode extension */ if ((header2 & HDRMASK) != (header & HDRMASK)) { /* require 2 matching headers in a row */ GST_DEBUG diff --git a/gst/mpegaudioparse/gstmpegaudioparse.h b/gst/mpegaudioparse/gstmpegaudioparse.h index a8c2a235..7375eedb 100644 --- a/gst/mpegaudioparse/gstmpegaudioparse.h +++ b/gst/mpegaudioparse/gstmpegaudioparse.h @@ -45,7 +45,7 @@ struct _GstMPEGAudioParse { GstPad *sinkpad,*srcpad; - GstBuffer *partialbuf; /* previous buffer (if carryover) */ + GstBuffer *partialbuf; /* previous buffer (if carryover) */ guint skip; /* number of frames to skip */ guint bit_rate; gint channels, rate, layer; -- cgit v1.2.1