diff options
author | Mario <mario@mariovavti.com> | 2021-05-25 11:24:16 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-05-25 11:24:16 +0000 |
commit | 846d99cfce30a304eef876edb08978b1109c9da4 (patch) | |
tree | effc4b7ac39ab600daa172b090edcd979e55ec01 /vendor/lukasreschke/id3parser | |
parent | 2486a9c914520188d751ac30cad91774302f0c01 (diff) | |
download | volse-hubzilla-846d99cfce30a304eef876edb08978b1109c9da4.tar.gz volse-hubzilla-846d99cfce30a304eef876edb08978b1109c9da4.tar.bz2 volse-hubzilla-846d99cfce30a304eef876edb08978b1109c9da4.zip |
php8: more fix unmaintained id3 parser
Diffstat (limited to 'vendor/lukasreschke/id3parser')
-rw-r--r-- | vendor/lukasreschke/id3parser/src/getID3/getid3_lib.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/lukasreschke/id3parser/src/getID3/getid3_lib.php b/vendor/lukasreschke/id3parser/src/getID3/getid3_lib.php index 08cb36e03..377a84508 100644 --- a/vendor/lukasreschke/id3parser/src/getID3/getid3_lib.php +++ b/vendor/lukasreschke/id3parser/src/getID3/getid3_lib.php @@ -166,7 +166,7 @@ class getid3_lib if (!$bitword) { return 0; } - $signbit = $bitword{0}; + $signbit = $bitword[0]; switch (strlen($byteword) * 8) { case 32: @@ -317,7 +317,7 @@ class getid3_lib public static function Bin2Dec($binstring, $signed=false) { $signmult = 1; if ($signed) { - if ($binstring{0} == '1') { + if ($binstring[0] == '1') { $signmult = -1; } $binstring = substr($binstring, 1); |