|
@@ 900-902 (lines=3) @@
|
| 897 |
|
elseif (($ExpectedNumberOfAudioBytes - ($info['avdataend'] - $info['avdataoffset'])) == 1) { |
| 898 |
|
$this->warning('Last byte of data truncated (this is a known bug in Meracl ID3 Tag Writer before v1.3.5)'); |
| 899 |
|
} |
| 900 |
|
else { |
| 901 |
|
$this->warning('Probable truncated file: expecting '.$ExpectedNumberOfAudioBytes.' bytes of audio data, only found '.($info['avdataend'] - $info['avdataoffset']).' (short by '.($ExpectedNumberOfAudioBytes - ($info['avdataend'] - $info['avdataoffset'])).' bytes)'); |
| 902 |
|
} |
| 903 |
|
} else { |
| 904 |
|
if ((($info['avdataend'] - $info['avdataoffset']) - $ExpectedNumberOfAudioBytes) == 1) { |
| 905 |
|
// $prenullbytefileoffset = $this->ftell(); |
|
@@ 915-917 (lines=3) @@
|
| 912 |
|
// } else { |
| 913 |
|
// $info['warning'][] = 'Too much data in file: expecting '.$ExpectedNumberOfAudioBytes.' bytes of audio data, found '.($info['avdataend'] - $info['avdataoffset']).' ('.(($info['avdataend'] - $info['avdataoffset']) - $ExpectedNumberOfAudioBytes).' bytes too many)'; |
| 914 |
|
// } |
| 915 |
|
} else { |
| 916 |
|
$info['warning'][] = 'Too much data in file: expecting '.$ExpectedNumberOfAudioBytes.' bytes of audio data, found '.($info['avdataend'] - $info['avdataoffset']).' ('.(($info['avdataend'] - $info['avdataoffset']) - $ExpectedNumberOfAudioBytes).' bytes too many)'; |
| 917 |
|
} |
| 918 |
|
} |
| 919 |
|
} |
| 920 |
|
|