start using prefixcmp()
LOC reduction and less noise makes things easier for tired old folks to follow.
This commit is contained in:
committed by
Max Kellermann
parent
f5df13f853
commit
27fad52c6b
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user