1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-02-25 21:35:48 +01:00
Files
gryf-overlay/media-plugins/xmms-mad/files/xmms-mad-0.5.6-mp3header.patch
2010-02-09 21:25:29 +01:00

12 lines
448 B
Diff

--- src/xmms-mad.c 2003-12-28 16:18:40.000000000 +0100
+++ src/xmms-mad.c 2004-03-16 13:14:12.000000000 +0100
@@ -95,7 +95,7 @@
if (fin >= 0 && read (fin, check, 4) == 4)
{
/* If first two bytes are a sync header or three bytes are "ID3" */
- if ( (check[0] == 0xff && (check[1] & 0x70) == 0x70)
+ if ( (check[0] == 0xff && (check[1] & 0xE0) == 0xE0)
|| memcmp (check, "ID3", 3) == 0)
{
rtn = 1;