Skip to content

Commit

Permalink
#29 Fix invalid short_description for empty short_description
Browse files Browse the repository at this point in the history
  • Loading branch information
wapmorgan committed May 28, 2023
1 parent a28101d commit f4e3b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mp3Info.php
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ protected function parseId3v23Body($fp, $lastByte) {
$raw = fread($fp, 4);
$data = unpack('C1encoding/A3language', $raw);
// read until \null character
$short_description = null;
$short_description = '';
$last_null = false;
$actual_text = false;
while (ftell($fp) < $dataEnd) {
Expand Down

0 comments on commit f4e3b0d

Please sign in to comment.