aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-05-25 11:24:16 +0000
committerMario <mario@mariovavti.com>2021-05-25 11:24:16 +0000
commit846d99cfce30a304eef876edb08978b1109c9da4 (patch)
treeeffc4b7ac39ab600daa172b090edcd979e55ec01
parent2486a9c914520188d751ac30cad91774302f0c01 (diff)
downloadvolse-hubzilla-846d99cfce30a304eef876edb08978b1109c9da4.tar.gz
volse-hubzilla-846d99cfce30a304eef876edb08978b1109c9da4.tar.bz2
volse-hubzilla-846d99cfce30a304eef876edb08978b1109c9da4.zip
php8: more fix unmaintained id3 parser
-rw-r--r--vendor/lukasreschke/id3parser/src/getID3/getid3_lib.php4
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);