Displaying 2 results from an estimated 2 matches for "format_ogg_free_plugin".
2007 Mar 15
2
Logging album info for ogg-vorbis
Hi, i just joined the list. I was wondering if anyone would be interested
in a change to icecast that logs album info as well as ARTST and TRACK. I
have made the changes to the source code and it's working fine. If there
is any interest, I could look into making it an addition to the code.
Let me know.
thanks,
--
Aaron
-------------- next part --------------
An HTML attachment was
2007 Mar 26
0
Logging album info for ogg-vorbis
...-------------- next part --------------
diff -aur icecast-2.3.1/src/format_ogg.c icecast-2.3.1-modified/src/format_ogg.c
--- icecast-2.3.1/src/format_ogg.c 2005-08-19 04:01:58.000000000 +0200
+++ icecast-2.3.1-modified/src/format_ogg.c 2007-03-26 23:24:51.000000000 +0200
@@ -184,12 +184,17 @@
void format_ogg_free_plugin (format_plugin_t *plugin)
{
ogg_state_t *state = plugin->_state;
+ int i;
/* free memory associated with this plugin instance */
free_ogg_codecs (state);
free (state->artist);
free (state->title);
+ for(i=0; i < state->metadata_count; ++i)
+ f...