start using prefixcmp()

LOC reduction and less noise makes things easier for
tired old folks to follow.
This commit is contained in:
Eric Wong
2008-09-23 20:48:12 +02:00
committed by Max Kellermann
parent f5df13f853
commit 27fad52c6b
7 changed files with 24 additions and 52 deletions
+1 -1
View File
@@ -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",