summaryrefslogtreecommitdiffstats
path: root/gst/flv/gstflvparse.h
diff options
context:
space:
mode:
authorJulien Moutte <julien@moutte.net>2007-07-25 13:29:04 +0000
committerJulien Moutte <julien@moutte.net>2007-07-25 13:29:04 +0000
commit0a10191772eecb23d31c1ac7442a2efc22eff074 (patch)
treef9b4b3b017236426639e71183351f7d17245c339 /gst/flv/gstflvparse.h
parent3ff914844181a756f4c27ddd6241edb24f860704 (diff)
downloadgst-plugins-bad-0a10191772eecb23d31c1ac7442a2efc22eff074.tar.gz
gst-plugins-bad-0a10191772eecb23d31c1ac7442a2efc22eff074.tar.bz2
gst-plugins-bad-0a10191772eecb23d31c1ac7442a2efc22eff074.zip
gst/flv/: Handle not linked pads, try to make it reusable, more safety checks.
Original commit message from CVS: 2007-07-25 Julien MOUTTE <julien@moutte.net> (gst_flv_demux_chain), (gst_flv_demux_pull_tag), (gst_flv_demux_change_state), (gst_flv_demux_dispose), (gst_flv_demux_init): * gst/flv/gstflvdemux.h: * gst/flv/gstflvparse.c: (FLV_GET_STRING), (gst_flv_parse_metadata_item), (gst_flv_parse_tag_script), (gst_flv_parse_tag_audio), (gst_flv_parse_tag_video), (gst_flv_parse_header): * gst/flv/gstflvparse.h: Handle not linked pads, try to make it reusable, more safety checks.
Diffstat (limited to 'gst/flv/gstflvparse.h')
-rw-r--r--gst/flv/gstflvparse.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/gst/flv/gstflvparse.h b/gst/flv/gstflvparse.h
index 027aaeda..7b9d498e 100644
--- a/gst/flv/gstflvparse.h
+++ b/gst/flv/gstflvparse.h
@@ -16,15 +16,14 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
-
+
#ifndef __FLV_PARSE_H__
#define __FLV_PARSE_H__
#include "gstflvdemux.h"
G_BEGIN_DECLS
-
-GstFlowReturn gst_flv_parse_tag_script (GstFLVDemux * demux,
+ GstFlowReturn gst_flv_parse_tag_script (GstFLVDemux * demux,
const guint8 * data, size_t data_size);
GstFlowReturn gst_flv_parse_tag_audio (GstFLVDemux * demux, const guint8 * data,
@@ -32,7 +31,7 @@ GstFlowReturn gst_flv_parse_tag_audio (GstFLVDemux * demux, const guint8 * data,
GstFlowReturn gst_flv_parse_tag_video (GstFLVDemux * demux, const guint8 * data,
size_t data_size);
-
+
GstFlowReturn gst_flv_parse_tag_type (GstFLVDemux * demux, const guint8 * data,
size_t data_size);
@@ -40,5 +39,4 @@ GstFlowReturn gst_flv_parse_header (GstFLVDemux * demux, const guint8 * data,
size_t data_size);
G_END_DECLS
-
#endif /* __FLV_PARSE_H__ */