diff libmpdemux/demux_ty.c @ 24443:96dc3e753182

Make demux_ty internal functions static
author reimar
date Fri, 14 Sep 2007 15:19:45 +0000
parents 9fc610537539
children 7c07a4b2aab0
line wrap: on
line diff
--- a/libmpdemux/demux_ty.c	Fri Sep 14 15:12:46 2007 +0000
+++ b/libmpdemux/demux_ty.c	Fri Sep 14 15:19:45 2007 +0000
@@ -123,7 +123,7 @@
 #define TMF_SIG "showing.xml"
 
 // ===========================================================================
-int ty_extensionis( char *name, char *ext )
+static int ty_extensionis( char *name, char *ext )
 {
    char *ptr;
 
@@ -136,7 +136,7 @@
 
 
 // ===========================================================================
-int ty_tmf_filetoparts( demuxer_t *demux, TiVoInfo *tivo )
+static int ty_tmf_filetoparts( demuxer_t *demux, TiVoInfo *tivo )
 {
    char    header[ 512 ];
    char    name[ 100 ];
@@ -272,7 +272,7 @@
 
 
 // ===========================================================================
-void tmf_filetooffset( TiVoInfo *tivo, int chunk, off_t *offset )
+static void tmf_filetooffset( TiVoInfo *tivo, int chunk, off_t *offset )
 {
    int index;
 
@@ -303,7 +303,7 @@
 
 
 // ===========================================================================
-int tmf_load_chunk( demuxer_t *demux, TiVoInfo *tivo, 
+static int tmf_load_chunk( demuxer_t *demux, TiVoInfo *tivo, 
    unsigned char *buff, int size, int readChunk )
 {
    off_t fileoffset;
@@ -1316,7 +1316,7 @@
 	}
 }
 
-int demux_ty_control( demuxer_t *demuxer,int cmd, void *arg )
+static int demux_ty_control( demuxer_t *demuxer,int cmd, void *arg )
 {
    demux_stream_t *d_video = demuxer->video;
    sh_video_t     *sh_video = d_video->sh;