aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins/mp3_plugin.c
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2006-07-20 18:53:56 +0000
committerAvuton Olrich <avuton@gmail.com>2006-07-20 18:53:56 +0000
commit00e67be7c98cedf3ea60c10d4a527f30cdfa473c (patch)
tree969f972985004c49530b1f4ca6f9782cb3b2acac /src/inputPlugins/mp3_plugin.c
parent29a25b9933b32800f58dd73d5d1fc21993071c92 (diff)
downloadmpd-00e67be7c98cedf3ea60c10d4a527f30cdfa473c.tar.gz
mpd-00e67be7c98cedf3ea60c10d4a527f30cdfa473c.tar.xz
mpd-00e67be7c98cedf3ea60c10d4a527f30cdfa473c.zip
Add mpd-indent.sh
Add a few new options for indent to try to make things a bit cleaner git-svn-id: https://svn.musicpd.org/mpd/trunk@4411 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/inputPlugins/mp3_plugin.c')
-rw-r--r--src/inputPlugins/mp3_plugin.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/inputPlugins/mp3_plugin.c b/src/inputPlugins/mp3_plugin.c
index 442ea3acf..afe5f3280 100644
--- a/src/inputPlugins/mp3_plugin.c
+++ b/src/inputPlugins/mp3_plugin.c
@@ -225,12 +225,10 @@ static ReplayGainInfo *parseId3ReplayGainInfo(struct id3_tag *tag)
if (frame->nfields < 3)
continue;
- key =
- (char *)
+ key = (char *)
id3_ucs4_latin1duplicate(id3_field_getstring
(&frame->fields[1]));
- value =
- (char *)
+ value = (char *)
id3_ucs4_latin1duplicate(id3_field_getstring
(&frame->fields[2]));
@@ -440,11 +438,11 @@ enum xing_magic {
};
struct xing {
- long flags; /* valid fields (see below) */
+ long flags; /* valid fields (see below) */
unsigned long frames; /* total number of frames */
unsigned long bytes; /* total number of bytes */
unsigned char toc[100]; /* 100-point seek table */
- long scale; /* VBR quality */
+ long scale; /* VBR quality */
enum xing_magic magic; /* header magic */
};