Ticket #47751: 47751-remaining-getid3.diff
File 47751-remaining-getid3.diff, 1.1 KB (added by , 5 years ago) |
---|
-
src/wp-includes/ID3/getid3.php
250 250 */ 251 251 protected $startup_warning = ''; 252 252 253 const VERSION = '1.9.1 7-201907240906';253 const VERSION = '1.9.18-201907240906'; 254 254 const FREAD_BUFFER_SIZE = 32768; 255 255 256 256 const ATTACHMENTS_NONE = false; -
src/wp-includes/ID3/module.audio-video.matroska.php
342 342 switch ($trackarray['CodecID']) { 343 343 case 'A_PCM/INT/LIT': 344 344 case 'A_PCM/INT/BIG': 345 $track_info['bitrate'] = $track array['SamplingFrequency'] * $trackarray['Channels'] * $trackarray['BitDepth'];345 $track_info['bitrate'] = $track_info['sample_rate'] * $track_info['channels'] * $trackarray['BitDepth']; 346 346 break; 347 347 348 348 case 'A_AC3':