mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
amrparse: Mark some more functions as static
This commit is contained in:
parent
fabc5c969b
commit
5203b0884a
1 changed files with 8 additions and 9 deletions
|
@ -71,16 +71,16 @@ static const gint block_size_wb[16] =
|
||||||
#define AMR_FRAME_DURATION (GST_SECOND/AMR_FRAMES_PER_SECOND)
|
#define AMR_FRAME_DURATION (GST_SECOND/AMR_FRAMES_PER_SECOND)
|
||||||
#define AMR_MIME_HEADER_SIZE 9
|
#define AMR_MIME_HEADER_SIZE 9
|
||||||
|
|
||||||
gboolean gst_amr_parse_start (GstBaseParse * parse);
|
static gboolean gst_amr_parse_start (GstBaseParse * parse);
|
||||||
gboolean gst_amr_parse_stop (GstBaseParse * parse);
|
static gboolean gst_amr_parse_stop (GstBaseParse * parse);
|
||||||
|
|
||||||
static gboolean gst_amr_parse_sink_setcaps (GstBaseParse * parse,
|
static gboolean gst_amr_parse_sink_setcaps (GstBaseParse * parse,
|
||||||
GstCaps * caps);
|
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);
|
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);
|
GstBaseParseFrame * frame);
|
||||||
|
|
||||||
#define _do_init(bla) \
|
#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_BOILERPLATE_FULL (GstAmrParse, gst_amr_parse, GstBaseParse,
|
||||||
GST_TYPE_BASE_PARSE, _do_init);
|
GST_TYPE_BASE_PARSE, _do_init);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_amr_parse_base_init:
|
* gst_amr_parse_base_init:
|
||||||
* @klass: #GstElementClass.
|
* @klass: #GstElementClass.
|
||||||
|
@ -265,7 +264,7 @@ gst_amr_parse_parse_header (GstAmrParse * amrparse,
|
||||||
*
|
*
|
||||||
* Returns: TRUE if the given data contains valid frame.
|
* Returns: TRUE if the given data contains valid frame.
|
||||||
*/
|
*/
|
||||||
gboolean
|
static gboolean
|
||||||
gst_amr_parse_check_valid_frame (GstBaseParse * parse,
|
gst_amr_parse_check_valid_frame (GstBaseParse * parse,
|
||||||
GstBaseParseFrame * frame, guint * framesize, gint * skipsize)
|
GstBaseParseFrame * frame, guint * framesize, gint * skipsize)
|
||||||
{
|
{
|
||||||
|
@ -346,7 +345,7 @@ gst_amr_parse_check_valid_frame (GstBaseParse * parse,
|
||||||
*
|
*
|
||||||
* Returns: #GstFlowReturn defining the parsing status.
|
* Returns: #GstFlowReturn defining the parsing status.
|
||||||
*/
|
*/
|
||||||
GstFlowReturn
|
static GstFlowReturn
|
||||||
gst_amr_parse_parse_frame (GstBaseParse * parse, GstBaseParseFrame * frame)
|
gst_amr_parse_parse_frame (GstBaseParse * parse, GstBaseParseFrame * frame)
|
||||||
{
|
{
|
||||||
return GST_FLOW_OK;
|
return GST_FLOW_OK;
|
||||||
|
@ -361,7 +360,7 @@ gst_amr_parse_parse_frame (GstBaseParse * parse, GstBaseParseFrame * frame)
|
||||||
*
|
*
|
||||||
* Returns: TRUE on success.
|
* Returns: TRUE on success.
|
||||||
*/
|
*/
|
||||||
gboolean
|
static gboolean
|
||||||
gst_amr_parse_start (GstBaseParse * parse)
|
gst_amr_parse_start (GstBaseParse * parse)
|
||||||
{
|
{
|
||||||
GstAmrParse *amrparse;
|
GstAmrParse *amrparse;
|
||||||
|
@ -382,7 +381,7 @@ gst_amr_parse_start (GstBaseParse * parse)
|
||||||
*
|
*
|
||||||
* Returns: TRUE on success.
|
* Returns: TRUE on success.
|
||||||
*/
|
*/
|
||||||
gboolean
|
static gboolean
|
||||||
gst_amr_parse_stop (GstBaseParse * parse)
|
gst_amr_parse_stop (GstBaseParse * parse)
|
||||||
{
|
{
|
||||||
GstAmrParse *amrparse;
|
GstAmrParse *amrparse;
|
||||||
|
|
Loading…
Reference in a new issue