Make WordPress Core


Ignore:
Timestamp:
03/21/2026 11:47:15 PM (7 months ago)
Author:
SergeyBiryukov
Message:

External Libraries: Update getID3 to version 1.9.25.

The latest version includes various bug fixes, as well as improvements for PHP 8.5 support.

References:

Follow-up to [47601], [48278], [52254], [54376], [56975], [61253].

Props Presskopp, SergeyBiryukov.
Fixes #64914.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ID3/module.audio.mp3.php

    r61253 r62087  
    11791179                        $nextframetestarray = array('error' => array(), 'warning' => array(), 'avdataend' => $info['avdataend'], 'avdataoffset'=>$info['avdataoffset']);
    11801180                        if ($this->decodeMPEGaudioHeader($nextframetestoffset, $nextframetestarray, false)) {
    1181                                 getid3_lib::safe_inc($info['mp3_validity_check_bitrates'][$nextframetestarray['mpeg']['audio']['bitrate']]);
     1181                                getid3_lib::safe_inc($info['mp3_validity_check_bitrates'][intval($nextframetestarray['mpeg']['audio']['bitrate'])]);
    11821182                                if ($ScanAsCBR) {
    11831183                                        // force CBR mode, used for trying to pick out invalid audio streams with valid(?) VBR headers, or VBR streams with no VBR header
Note: See TracChangeset for help on using the changeset viewer.