diff options
author | Mario <mario@mariovavti.com> | 2021-05-26 18:02:29 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-05-26 18:02:29 +0000 |
commit | ff34a787c34c757b8959bbe51a485890e2345902 (patch) | |
tree | e19a342885b69e053f6956325a7daa7a5891ea6a /vendor/lukasreschke/id3parser/src/getID3/Tags/getid3_id3v1.php | |
parent | 84c5f57d2243ff8aa335e37fd5c6cb1b6d64e7d1 (diff) | |
download | volse-hubzilla-ff34a787c34c757b8959bbe51a485890e2345902.tar.gz volse-hubzilla-ff34a787c34c757b8959bbe51a485890e2345902.tar.bz2 volse-hubzilla-ff34a787c34c757b8959bbe51a485890e2345902.zip |
php8: more id3 parser fixes
Diffstat (limited to 'vendor/lukasreschke/id3parser/src/getID3/Tags/getid3_id3v1.php')
-rw-r--r-- | vendor/lukasreschke/id3parser/src/getID3/Tags/getid3_id3v1.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/lukasreschke/id3parser/src/getID3/Tags/getid3_id3v1.php b/vendor/lukasreschke/id3parser/src/getID3/Tags/getid3_id3v1.php index 18e850af1..944885b4f 100644 --- a/vendor/lukasreschke/id3parser/src/getID3/Tags/getid3_id3v1.php +++ b/vendor/lukasreschke/id3parser/src/getID3/Tags/getid3_id3v1.php @@ -39,7 +39,7 @@ class getid3_id3v1 extends getid3_handler // If second-last byte of comment field is null and last byte of comment field is non-null // then this is ID3v1.1 and the comment field is 28 bytes long and the 30th byte is the track number - if (($id3v1tag{125} === "\x00") && ($id3v1tag{126} !== "\x00")) { + if (($id3v1tag[125] === "\x00") && ($id3v1tag[126] !== "\x00")) { $ParsedID3v1['track'] = ord(substr($ParsedID3v1['comment'], 29, 1)); $ParsedID3v1['comment'] = substr($ParsedID3v1['comment'], 0, 28); } |