Mercurial > libavformat.hg
diff mp3.c @ 3278:1de87c1b6a12 libavformat
Remove unnecessary parentheses from return calls.
author | diego |
---|---|
date | Tue, 06 May 2008 09:16:36 +0000 |
parents | 6eaceb561ae9 |
children | 6f61c3b36632 |
line wrap: on
line diff
--- a/mp3.c Mon May 05 09:17:56 2008 +0000 +++ b/mp3.c Tue May 06 09:16:36 2008 +0000 @@ -160,7 +160,7 @@ /* buf must be ID3v2_HEADER_SIZE byte long */ static int id3v2_match(const uint8_t *buf) { - return (buf[0] == 'I' && + return buf[0] == 'I' && buf[1] == 'D' && buf[2] == '3' && buf[3] != 0xff && @@ -168,7 +168,7 @@ (buf[6] & 0x80) == 0 && (buf[7] & 0x80) == 0 && (buf[8] & 0x80) == 0 && - (buf[9] & 0x80) == 0); + (buf[9] & 0x80) == 0; } static unsigned int id3v2_get_size(ByteIOContext *s, int len)