Skip to content

Commit

Permalink
Remove mpc_old magic detection from getid3. We don't use it in dir2ca…
Browse files Browse the repository at this point in the history
…st, and I found an MP3 that it false-positives with.
  • Loading branch information
ben-xo committed Feb 17, 2011
1 parent 7344599 commit 0b36c4b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions getID3/getid3.php
Expand Up @@ -595,12 +595,12 @@ public static function GetFileFormatArray() {
),

// MPC - audio - Musepack / MPEGplus SV4-6
'mpc_old' => array (
'pattern' => '^([\x00\x01\x10\x11\x40\x41\x50\x51\x80\x81\x90\x91\xC0\xC1\xD0\xD1][\x20-37][\x00\x20\x40\x60\x80\xA0\xC0\xE0])',
'group' => 'audio',
'module' => 'mpc_old',
'mime_type' => 'application/octet-stream',
),
//'mpc_old' => array (
// 'pattern' => '^([\x00\x01\x10\x11\x40\x41\x50\x51\x80\x81\x90\x91\xC0\xC1\xD0\xD1][\x20-37][\x00\x20\x40\x60\x80\xA0\xC0\xE0])',
// 'group' => 'audio',
// 'module' => 'mpc_old',
// 'mime_type' => 'application/octet-stream',
// ),


// MP3 - audio - MPEG-audio Layer 3 (very similar to AAC-ADTS)
Expand Down

0 comments on commit 0b36c4b

Please sign in to comment.