From 9ed7b793873654d7696de5be5fb38d34faae5af8 Mon Sep 17 00:00:00 2001 From: Aaron Jorbin Date: Wed, 18 Sep 2019 14:54:57 +0000 Subject: [PATCH] External Library: Update getid3 to 1.9.18 Follow up to r46112 as getid3 has tagged an official release. Changes: https://github.com/JamesHeinrich/getID3/compare/00f3fbfd77e583099ca70a3cf0bc092e113d2b20...v1.9.18 Props desrosj, jkitchen. Fixes #47751 #40883 #43836. Built from https://develop.svn.wordpress.org/trunk@46166 git-svn-id: http://core.svn.wordpress.org/trunk@45978 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/ID3/getid3.php | 2 +- wp-includes/ID3/module.audio-video.matroska.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/ID3/getid3.php b/wp-includes/ID3/getid3.php index 178c7cc1af..cb25253e22 100644 --- a/wp-includes/ID3/getid3.php +++ b/wp-includes/ID3/getid3.php @@ -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; diff --git a/wp-includes/ID3/module.audio-video.matroska.php b/wp-includes/ID3/module.audio-video.matroska.php index b2b187b6f1..5999066218 100644 --- a/wp-includes/ID3/module.audio-video.matroska.php +++ b/wp-includes/ID3/module.audio-video.matroska.php @@ -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': diff --git a/wp-includes/version.php b/wp-includes/version.php index f597291df3..8ef3817ef5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-46165'; +$wp_version = '5.3-alpha-46166'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.