Simply comment out lines 300 and 301 in mp3.c. // if (mh->layer != 2) // return 0; Or possibly just allow Layers 2 and 3: if (mh->layer != 2 || mh->layer != 1) return 0;