summaryrefslogtreecommitdiff
path: root/gst/audioparsers
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2011-11-24 09:49:27 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2011-11-24 09:49:27 +0100
commit5203b0884abc1deeec5943557dd4c7b49bb91579 (patch)
treef13e885d1b7f211fe9d493ad9813742c8bd89799 /gst/audioparsers
parentfabc5c969be34e496662a810ba1b3f0b2721163d (diff)
amrparse: Mark some more functions as static
Diffstat (limited to 'gst/audioparsers')
-rw-r--r--gst/audioparsers/gstamrparse.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/gst/audioparsers/gstamrparse.c b/gst/audioparsers/gstamrparse.c
index bdb860434b..3dbd3e0bc7 100644
--- a/gst/audioparsers/gstamrparse.c
+++ b/gst/audioparsers/gstamrparse.c
@@ -71,16 +71,16 @@ static const gint block_size_wb[16] =
#define AMR_FRAME_DURATION (GST_SECOND/AMR_FRAMES_PER_SECOND)
#define AMR_MIME_HEADER_SIZE 9
-gboolean gst_amr_parse_start (GstBaseParse * parse);
-gboolean gst_amr_parse_stop (GstBaseParse * parse);
+static gboolean gst_amr_parse_start (GstBaseParse * parse);
+static gboolean gst_amr_parse_stop (GstBaseParse * parse);
static gboolean gst_amr_parse_sink_setcaps (GstBaseParse * parse,
GstCaps * caps);
-gboolean gst_amr_parse_check_valid_frame (GstBaseParse * parse,
+static gboolean gst_amr_parse_check_valid_frame (GstBaseParse * parse,
GstBaseParseFrame * frame, guint * framesize, gint * skipsize);
-GstFlowReturn gst_amr_parse_parse_frame (GstBaseParse * parse,
+static GstFlowReturn gst_amr_parse_parse_frame (GstBaseParse * parse,
GstBaseParseFrame * frame);
#define _do_init(bla) \
@@ -90,7 +90,6 @@ GstFlowReturn gst_amr_parse_parse_frame (GstBaseParse * parse,
GST_BOILERPLATE_FULL (GstAmrParse, gst_amr_parse, GstBaseParse,
GST_TYPE_BASE_PARSE, _do_init);
-
/**
* gst_amr_parse_base_init:
* @klass: #GstElementClass.
@@ -265,7 +264,7 @@ gst_amr_parse_parse_header (GstAmrParse * amrparse,
*
* Returns: TRUE if the given data contains valid frame.
*/
-gboolean
+static gboolean
gst_amr_parse_check_valid_frame (GstBaseParse * parse,
GstBaseParseFrame * frame, guint * framesize, gint * skipsize)
{
@@ -346,7 +345,7 @@ gst_amr_parse_check_valid_frame (GstBaseParse * parse,
*
* Returns: #GstFlowReturn defining the parsing status.
*/
-GstFlowReturn
+static GstFlowReturn
gst_amr_parse_parse_frame (GstBaseParse * parse, GstBaseParseFrame * frame)
{
return GST_FLOW_OK;
@@ -361,7 +360,7 @@ gst_amr_parse_parse_frame (GstBaseParse * parse, GstBaseParseFrame * frame)
*
* Returns: TRUE on success.
*/
-gboolean
+static gboolean
gst_amr_parse_start (GstBaseParse * parse)
{
GstAmrParse *amrparse;
@@ -382,7 +381,7 @@ gst_amr_parse_start (GstBaseParse * parse)
*
* Returns: TRUE on success.
*/
-gboolean
+static gboolean
gst_amr_parse_stop (GstBaseParse * parse)
{
GstAmrParse *amrparse;