From d0556dc9839627f899939e9419181a4ad9b2053d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 29 Aug 2008 09:38:11 +0200 Subject: tag: renamed MpdTag and MpdTagItem to struct tag, struct mpd_tag_item Getting rid of CamelCase; not having typedefs also allows us to forward-declare the structures. --- src/inputPlugins/oggvorbis_plugin.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/inputPlugins/oggvorbis_plugin.c') diff --git a/src/inputPlugins/oggvorbis_plugin.c b/src/inputPlugins/oggvorbis_plugin.c index 808af92b0..6d160dcdc 100644 --- a/src/inputPlugins/oggvorbis_plugin.c +++ b/src/inputPlugins/oggvorbis_plugin.c @@ -140,7 +140,7 @@ static const char *VORBIS_COMMENT_DISC_KEY = "discnumber"; static unsigned int ogg_parseCommentAddToTag(char *comment, unsigned int itemType, - MpdTag ** tag) + struct tag ** tag) { const char *needle; unsigned int len; @@ -168,9 +168,9 @@ static unsigned int ogg_parseCommentAddToTag(char *comment, return 0; } -static MpdTag *oggCommentsParse(char **comments) +static struct tag *oggCommentsParse(char **comments) { - MpdTag *tag = NULL; + struct tag *tag = NULL; while (*comments) { int j; @@ -187,7 +187,7 @@ static MpdTag *oggCommentsParse(char **comments) static void putOggCommentsIntoOutputBuffer(char *streamName, char **comments) { - MpdTag *tag; + struct tag *tag; tag = oggCommentsParse(comments); if (!tag && streamName) { @@ -337,9 +337,9 @@ static int oggvorbis_decode(struct decoder * decoder, InputStream * inStream) return 0; } -static MpdTag *oggvorbis_TagDup(char *file) +static struct tag *oggvorbis_TagDup(char *file) { - MpdTag *ret; + struct tag *ret; FILE *fp; OggVorbis_File vf; -- cgit v1.2.3