Skip to content

Commit 031fee8

Browse files
committed
Fix invalid reference to the callback function
1 parent 6ec67df commit 031fee8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Module/AudioVideo/Riff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1830,7 +1830,7 @@ public static function parseWAVEFORMATex($WaveFormatExData) {
18301830
if (strlen($WaveFormatExData) > 16) {
18311831
$WaveFormatEx_raw['cbSize'] = substr($WaveFormatExData, 16, 2);
18321832
}
1833-
$WaveFormatEx_raw = array_map('Utils::LittleEndian2Int', $WaveFormatEx_raw);
1833+
$WaveFormatEx_raw = array_map(array('JamesHeinrich\GetID3\Utils', 'LittleEndian2Int'), $WaveFormatEx_raw);
18341834

18351835
$WaveFormatEx['codec'] = self::wFormatTagLookup($WaveFormatEx_raw['wFormatTag']);
18361836
$WaveFormatEx['channels'] = $WaveFormatEx_raw['nChannels'];

0 commit comments

Comments
 (0)