diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-09-23 20:48:12 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-23 20:48:12 +0200 |
commit | 27fad52c6bb1d8803f400a6e95fa5c24396a1c12 (patch) | |
tree | 9b1fadeef43c3193b29344cda223c7b2c754433b /src/inputPlugins | |
parent | f5df13f853cf4c0e529244dd40ab57c78a7d1bc6 (diff) | |
download | mpd-27fad52c6bb1d8803f400a6e95fa5c24396a1c12.tar.gz mpd-27fad52c6bb1d8803f400a6e95fa5c24396a1c12.tar.xz mpd-27fad52c6bb1d8803f400a6e95fa5c24396a1c12.zip |
start using prefixcmp()
LOC reduction and less noise makes things easier for
tired old folks to follow.
Diffstat (limited to 'src/inputPlugins')
-rw-r--r-- | src/inputPlugins/mp3_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputPlugins/mp3_plugin.c b/src/inputPlugins/mp3_plugin.c index cf05d98c9..3e57a3704 100644 --- a/src/inputPlugins/mp3_plugin.c +++ b/src/inputPlugins/mp3_plugin.c @@ -613,7 +613,7 @@ static int parse_lame(struct lame *lame, struct mad_bitptr *ptr, int *bitlen) /* This is technically incorrect, since the encoder might not be lame. * But there's no other way to determine if this is a lame tag, and we * wouldn't want to go reading a tag that's not there. */ - if (strncmp(lame->encoder, "LAME", 4) != 0) + if (prefixcmp(lame->encoder, "LAME")) return 0; if (sscanf(lame->encoder+4, "%u.%u", |