Explorar o código

fixed lookup problem in LAME tag

ncannasse %!s(int64=10) %!d(string=hai) anos
pai
achega
2c3ec3bbdf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      hxd/snd/Mp3Data.hx

+ 1 - 1
hxd/snd/Mp3Data.hx

@@ -16,7 +16,7 @@ class Mp3Data extends Data {
 		// http://gabriel.mp3-tech.org/mp3infotag.html
 		var frame = mp.frames[0].data;
 		var lame = -1;
-		for( i in 32 + 120...frame.length - 24 )
+		for( i in 0...frame.length - 24 )
 			if( frame.get(i) == "L".code && frame.get(i + 1) == "A".code && frame.get(i + 2) == "M".code && frame.get(i + 3) == "E".code ) {
 				lame = i;
 				break;