diff --git a/getid3/module.audio-video.matroska.php b/getid3/module.audio-video.matroska.php index b2b187b6..59990662 100644 --- a/getid3/module.audio-video.matroska.php +++ b/getid3/module.audio-video.matroska.php @@ -342,7 +342,7 @@ public function Analyze() switch ($trackarray['CodecID']) { case 'A_PCM/INT/LIT': case 'A_PCM/INT/BIG': - $track_info['bitrate'] = $trackarray['SamplingFrequency'] * $trackarray['Channels'] * $trackarray['BitDepth']; + $track_info['bitrate'] = $track_info['sample_rate'] * $track_info['channels'] * $trackarray['BitDepth']; break; case 'A_AC3':