WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/20/2020 11:11:48 AM (21 months ago)
Author:
SergeyBiryukov
Message:

External Libraries: Update getID3() to 1.9.19.

Changelog: https://github.com/JamesHeinrich/getID3/compare/v1.9.18...v1.9.19

Props ayeshrajans, schlessera.
See #49945.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ID3/module.tag.lyrics3.php

    r46586 r47601  
    3333        $this->fseek((0 - 128 - 9 - 6), SEEK_END);          // end - ID3v1 - "LYRICSEND" - [Lyrics3size]
    3434        $lyrics3_id3v1 = $this->fread(128 + 9 + 6);
    35         $lyrics3lsz    = substr($lyrics3_id3v1,  0,  6); // Lyrics3size
     35        $lyrics3lsz    = (int) substr($lyrics3_id3v1, 0, 6); // Lyrics3size
    3636        $lyrics3end    = substr($lyrics3_id3v1,  6,   9); // LYRICSEND or LYRICS200
    3737        $id3v1tag      = substr($lyrics3_id3v1, 15, 128); // ID3v1
     
    241241                $this->error('Cannot process Lyrics3 version '.$version.' (only v1 and v2)');
    242242                return false;
    243                 break;
    244243        }
    245244
Note: See TracChangeset for help on using the changeset viewer.