Warning fix for gcc 4.3.

This commit is contained in:
Moritz Bunkus 2008-02-22 08:47:31 +00:00
parent 52f2415c02
commit 0a4cc59f3b

View File

@ -213,7 +213,7 @@ decode_mp3_header(const unsigned char *buf,
else if (h->version == 3)
h->version = 1;
h->layer = 4 - (header >> 17) & 3;
h->layer = 4 - ((header >> 17) & 3);
if (h->layer == 4)
mxerror("Invalid MP3 header value for the layer.\n");