External Library: Update getid3 to 1.9.18

Follow up to r46112 as getid3 has tagged an official release.

Changes: 00f3fbfd77...v1.9.18

Props desrosj, jkitchen.
Fixes #47751 #40883 #43836.


git-svn-id: https://develop.svn.wordpress.org/trunk@46166 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Aaron Jorbin 2019-09-18 14:53:01 +00:00
parent baaaef5b63
commit b7df2ea08c
2 changed files with 2 additions and 2 deletions

View File

@ -250,7 +250,7 @@ class getID3
*/
protected $startup_warning = '';
const VERSION = '1.9.17-201907240906';
const VERSION = '1.9.18-201907240906';
const FREAD_BUFFER_SIZE = 32768;
const ATTACHMENTS_NONE = false;

View File

@ -342,7 +342,7 @@ class getid3_matroska extends getid3_handler
switch ($trackarray['CodecID']) {
case 'A_PCM/INT/LIT':
case 'A_PCM/INT/BIG':
$track_info['bitrate'] = $trackarray['SamplingFrequency'] * $trackarray['Channels'] * $trackarray['BitDepth'];
$track_info['bitrate'] = $track_info['sample_rate'] * $track_info['channels'] * $trackarray['BitDepth'];
break;
case 'A_AC3':