aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-05-26 08:51:35 +0000
committerMario <mario@mariovavti.com>2021-05-26 08:51:35 +0000
commit8d8523684c2a1eed1cdff2573c9fa9bfbb7959de (patch)
tree9778eab85d2c67162b36c9288a72d070675850a6
parenta29dbaba216d0049757ba548932af23e3df1d0bd (diff)
downloadvolse-hubzilla-8d8523684c2a1eed1cdff2573c9fa9bfbb7959de.tar.gz
volse-hubzilla-8d8523684c2a1eed1cdff2573c9fa9bfbb7959de.tar.bz2
volse-hubzilla-8d8523684c2a1eed1cdff2573c9fa9bfbb7959de.zip
more id3parser
-rw-r--r--vendor/lukasreschke/id3parser/src/getID3/Tags/getid3_id3v2.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/lukasreschke/id3parser/src/getID3/Tags/getid3_id3v2.php b/vendor/lukasreschke/id3parser/src/getID3/Tags/getid3_id3v2.php
index 31742b7f2..1911b6001 100644
--- a/vendor/lukasreschke/id3parser/src/getID3/Tags/getid3_id3v2.php
+++ b/vendor/lukasreschke/id3parser/src/getID3/Tags/getid3_id3v2.php
@@ -51,8 +51,8 @@ class getid3_id3v2 extends getid3_handler
$header = $this->fread(10);
if (substr($header, 0, 3) == 'ID3' && strlen($header) == 10) {
- $thisfile_id3v2['majorversion'] = ord($header{3});
- $thisfile_id3v2['minorversion'] = ord($header{4});
+ $thisfile_id3v2['majorversion'] = ord($header[3]);
+ $thisfile_id3v2['minorversion'] = ord($header[4]);
// shortcut
$id3v2_majorversion = &$thisfile_id3v2['majorversion'];