if ($thisfile_mpeg_audio['bitrate_mode'
] == 'vbr'
) { $this->
warning('VBR file with no VBR header. Bitrate values calculated from actual frame bitrates.'
);
} } } } if (($ExpectedNumberOfAudioBytes > 0
) && ($ExpectedNumberOfAudioBytes != ($info['avdataend'
] -
$info['avdataoffset'
]))) { if ($ExpectedNumberOfAudioBytes >
($info['avdataend'
] -
$info['avdataoffset'
])) { if ($this->
isDependencyFor('matroska'
) ||
$this->
isDependencyFor('riff'
)) { // ignore, audio data is broken into chunks so will always be data "missing"
} elseif (($ExpectedNumberOfAudioBytes -
($info['avdataend'
] -
$info['avdataoffset'
])) == 1
) { $this->
warning('Last byte of data truncated (this is a known bug in Meracl ID3 Tag Writer before v1.3.5)'
);
} else { $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)'
);
} } else { if ((($info['avdataend'
] -
$info['avdataoffset'
]) -
$ExpectedNumberOfAudioBytes) == 1
) { // $prenullbytefileoffset = $this->ftell();