fix TechnicalInformation

This commit is contained in:
xiaomlove
2021-06-14 13:16:21 +08:00
parent 0f84c7cd5a
commit 8f40c30cdf
3 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ class TechnicalInformation
public function getRefFrame()
{
foreach ($this->mediaInfoArr['Video'] as $key => $value) {
foreach ($this->mediaInfoArr['Video'] ?? [] as $key => $value) {
if (strpos($key, 'Reference frames') !== false) {
return $value;
}