Skip to content

Commit

Permalink
#355 undefined index ID3v2 chapters
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHeinrich committed Dec 15, 2021
1 parent 16afffd commit a99e0a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion getid3/getid3.php
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ class getID3
*/
protected $startup_warning = '';

const VERSION = '1.9.21-202111211051';
const VERSION = '1.9.21-202112151109';
const FREAD_BUFFER_SIZE = 32768;

const ATTACHMENTS_NONE = false;
Expand Down
2 changes: 1 addition & 1 deletion getid3/module.tag.id3v2.php
Original file line number Diff line number Diff line change
Expand Up @@ -2064,7 +2064,7 @@ public function ParseID3v2Frame(&$parsedFrame) {
$parsedFrame['subframes'][] = $subframe;
break;
case 'WXXX':
list($subframe['chapter_url_description'], $subframe['chapter_url']) = explode("\x00", $encoding_converted_text, 2);
@list($subframe['chapter_url_description'], $subframe['chapter_url']) = explode("\x00", $encoding_converted_text, 2);
$parsedFrame['chapter_url'][$subframe['chapter_url_description']] = $subframe['chapter_url'];
$parsedFrame['subframes'][] = $subframe;
break;
Expand Down

0 comments on commit a99e0a2

Please sign in to comment.