comparison libmpdemux/demux_ogg.c @ 30570:98dc6ae7ede2

libmpdemux: Mark functions not used outside of their files as static.
author diego
date Wed, 17 Feb 2010 22:01:35 +0000
parents 54145563612e
children a25d16882312
comparison
equal deleted inserted replaced
30569:98b6d4c82ab6 30570:98dc6ae7ede2
175 #define OGG_SUB_MAX_LINE 128 175 #define OGG_SUB_MAX_LINE 128
176 176
177 static subtitle ogg_sub; 177 static subtitle ogg_sub;
178 //FILE* subout; 178 //FILE* subout;
179 179
180 void demux_ogg_add_sub (ogg_stream_t* os,ogg_packet* pack) { 180 static void demux_ogg_add_sub(ogg_stream_t *os, ogg_packet *pack)
181 {
181 int lcv; 182 int lcv;
182 char *packet = pack->packet; 183 char *packet = pack->packet;
183 184
184 if (pack->bytes < 4) 185 if (pack->bytes < 4)
185 return; 186 return;
511 return 1; 512 return 1;
512 } 513 }
513 514
514 /// if -forceidx build a table of all syncpoints to make seeking easier 515 /// if -forceidx build a table of all syncpoints to make seeking easier
515 /// otherwise try to get at least the final_granulepos 516 /// otherwise try to get at least the final_granulepos
516 void demux_ogg_scan_stream(demuxer_t* demuxer) { 517 static void demux_ogg_scan_stream(demuxer_t *demuxer)
518 {
517 ogg_demuxer_t* ogg_d = demuxer->priv; 519 ogg_demuxer_t* ogg_d = demuxer->priv;
518 stream_t *s = demuxer->stream; 520 stream_t *s = demuxer->stream;
519 ogg_sync_state* sync = &ogg_d->sync; 521 ogg_sync_state* sync = &ogg_d->sync;
520 ogg_page* page= &ogg_d->page; 522 ogg_page* page= &ogg_d->page;
521 ogg_stream_state* oss; 523 ogg_stream_state* oss;