Commit 2fe56459 authored by brendan's avatar brendan
Browse files

Mangle the names of the codec open hooks. I forgot they'd be visible outside of libshout

once they were moved into separate files. Anyone know a way to make functions only have
intralibrary visibility?

svn path=/icecast/trunk/libshout/; revision=7194
parent eab60398
......@@ -49,9 +49,9 @@ static int send_page(shout_t *self, ogg_page *page);
typedef int (*codec_open_t)(ogg_codec_t *codec, ogg_page *page);
static codec_open_t codecs[] = {
open_vorbis,
_shout_open_vorbis,
#ifdef HAVE_THEORA
open_theora,
_shout_open_theora,
#endif
NULL
};
......
......@@ -44,9 +44,9 @@ typedef struct _ogg_codec_tag {
} ogg_codec_t;
/* codec hooks */
int open_vorbis(ogg_codec_t *codec, ogg_page *page);
int _shout_open_vorbis(ogg_codec_t *codec, ogg_page *page);
#ifdef HAVE_THEORA
int open_theora(ogg_codec_t *codec, ogg_page *page);
int _shout_open_theora(ogg_codec_t *codec, ogg_page *page);
#endif
#endif
......@@ -42,7 +42,7 @@ static void free_theora_data(void *codec_data);
static int theora_ilog(unsigned int v);
/* -- theora functions -- */
int open_theora(ogg_codec_t *codec, ogg_page *page)
int _shout_open_theora(ogg_codec_t *codec, ogg_page *page)
{
ogg_packet packet;
......
......@@ -41,7 +41,7 @@ static void free_vorbis_data(void *codec_data);
static int vorbis_blocksize(vorbis_data_t *vd, ogg_packet *p);
/* -- vorbis functions -- */
int open_vorbis(ogg_codec_t *codec, ogg_page *page)
int _shout_open_vorbis(ogg_codec_t *codec, ogg_page *page)
{
vorbis_data_t *vorbis_data = calloc(1, sizeof(vorbis_data_t));
ogg_packet packet;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment