aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins/oggvorbis_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-29 09:38:11 +0200
committerMax Kellermann <max@duempel.org>2008-08-29 09:38:11 +0200
commitd0556dc9839627f899939e9419181a4ad9b2053d (patch)
tree5b444b608c281f57cb717d356f2fd52a5b0951da /src/inputPlugins/oggvorbis_plugin.c
parentf42de62aa23dc238a767a6fcf0e92fd2c5f3a8f3 (diff)
downloadmpd-d0556dc9839627f899939e9419181a4ad9b2053d.tar.gz
mpd-d0556dc9839627f899939e9419181a4ad9b2053d.tar.xz
mpd-d0556dc9839627f899939e9419181a4ad9b2053d.zip
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.
Diffstat (limited to '')
-rw-r--r--src/inputPlugins/oggvorbis_plugin.c12
1 files changed, 6 insertions, 6 deletions
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;