diff --git a/library/ajax/ffprobe_info.php b/library/ajax/ffprobe_info.php
index 9b49cf356..d854b4af6 100644
--- a/library/ajax/ffprobe_info.php
+++ b/library/ajax/ffprobe_info.php
@@ -63,10 +63,10 @@ if (isset($ffpInfo->streams)) {
if (!empty($stream->codec_name)) {
$result .= sprintf($lang['AUDIO_CODEC'], $stream->codec_long_name, mb_strtoupper($stream->codec_name, 'UTF-8')) . '
';
}
- if (!empty($stream->bit_rate)) {
+ if (!empty($stream->bit_rate) && is_int($stream->bit_rate)) {
$result .= sprintf($lang['BITRATE'], humn_bitrate($stream->bit_rate)) . '
';
}
- if (!empty($stream->sample_rate)) {
+ if (!empty($stream->sample_rate) && is_int($stream->sample_rate)) {
$result .= sprintf($lang['SAMPLE_RATE'], humn_sample_rate($stream->sample_rate)) . '
';
}
if (!empty($stream->channels)) {