summaryrefslogtreecommitdiff
path: root/gst/mxf
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-21 21:39:18 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-21 21:39:18 +0100
commitf96e4f15817974e8d3675bfe3980cdf02815bd74 (patch)
tree8eb2ba9bc6058e9a8d5ad2a46e6bd5034e3f3813 /gst/mxf
parent46f4c7a6c127dbd20fd9f88a10518e084501cd36 (diff)
downloadgstreamer-plugins-bad-f96e4f15817974e8d3675bfe3980cdf02815bd74.tar.gz
Add -Wmissing-declarations -Wmissing-prototypes to configure flags
And fix all warnings
Diffstat (limited to 'gst/mxf')
-rw-r--r--gst/mxf/mxfdemux.c3
-rw-r--r--gst/mxf/mxfmpeg.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/gst/mxf/mxfdemux.c b/gst/mxf/mxfdemux.c
index ce1a1d381..6881a6eb4 100644
--- a/gst/mxf/mxfdemux.c
+++ b/gst/mxf/mxfdemux.c
@@ -74,6 +74,7 @@ GST_STATIC_PAD_TEMPLATE ("track_%u",
GST_DEBUG_CATEGORY_STATIC (mxfdemux_debug);
#define GST_CAT_DEFAULT mxfdemux_debug
+GType gst_mxf_demux_pad_get_type (void);
G_DEFINE_TYPE (GstMXFDemuxPad, gst_mxf_demux_pad, GST_TYPE_PAD);
static void
@@ -2007,7 +2008,7 @@ beach:
return ret;
}
-void
+static void
gst_mxf_demux_pull_random_index_pack (GstMXFDemux * demux)
{
GstBuffer *buffer;
diff --git a/gst/mxf/mxfmpeg.c b/gst/mxf/mxfmpeg.c
index 949ba804b..08b1a27b8 100644
--- a/gst/mxf/mxfmpeg.c
+++ b/gst/mxf/mxfmpeg.c
@@ -1013,7 +1013,7 @@ static MXFEssenceElementWriter mxf_mpeg_audio_essence_element_writer = {
"channels = (int) [ 1, 8 ]"
/* See ISO/IEC 13818-2 for MPEG ES format */
-gboolean
+static gboolean
mxf_mpeg_is_mpeg2_frame (GstBuffer * buffer)
{
GstByteReader reader = GST_BYTE_READER_INIT_FROM_BUFFER (buffer);