Skip to content

Commit 1ea0196

Browse files
committed
Merge tag 'v1.9.22' into 2.0-with-1.9.22-202207161647
# Conflicts: # README.md # src/GetID3.php # src/Module/Archive/Zip.php # src/Module/Audio/Aac.php # src/Module/AudioVideo/Asf.php # src/Module/AudioVideo/QuickTime.php # src/Module/Graphic/Gif.php # src/Utils.php
1 parent 3d288d5 commit 1ea0196

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

readme.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ if ($fp_remote = fopen($remotefilename, 'rb')) {
188188
$remote_headers = array_change_key_case(get_headers($remotefilename, 1), CASE_LOWER);
189189
$remote_filesize = (isset($remote_headers['content-length']) ? (is_array($remote_headers['content-length']) ? $remote_headers['content-length'][count($remote_headers['content-length']) - 1] : $remote_headers['content-length']) : null);
190190

191-
// Initialize getID3 engine
192-
$getID3 = new getID3;
191+
// Initialize GetID3 engine
192+
$getID3 = new GetID3;
193193

194194
$ThisFileInfo = $getID3->analyze($localtempfilename, $remote_filesize, basename($remotefilename));
195195

src/Module/AudioVideo/QuickTime.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1517,7 +1517,7 @@ public function QuicktimeParseAtom($atomname, $atomsize, $atom_data, $baseoffset
15171517
$OldAVDataEnd = $info['avdataend'];
15181518
$info['avdataend'] = $atom_structure['offset'] + $atom_structure['size']; // $info['quicktime'][$atomname]['offset'] + $info['quicktime'][$atomname]['size'];
15191519

1520-
$getid3_temp = new getID3();
1520+
$getid3_temp = new GetID3();
15211521
$getid3_temp->openfile($this->getid3->filename, $this->getid3->info['filesize'], $this->getid3->fp);
15221522
$getid3_temp->info['avdataoffset'] = $info['avdataoffset'];
15231523
$getid3_temp->info['avdataend'] = $info['avdataend'];
@@ -1552,7 +1552,7 @@ public function QuicktimeParseAtom($atomname, $atomsize, $atom_data, $baseoffset
15521552
break;
15531553

15541554
case 'ID32': // ID3v2
1555-
$getid3_temp = new getID3();
1555+
$getid3_temp = new GetID3();
15561556
$getid3_temp->openfile($this->getid3->filename, $this->getid3->info['filesize'], $this->getid3->fp);
15571557
$getid3_id3v2 = new ID3v2($getid3_temp);
15581558
$getid3_id3v2->StartingOffset = $atom_structure['offset'] + 14; // framelength(4)+framename(4)+flags(4)+??(2)

src/Module/AudioVideo/Riff.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2158,7 +2158,7 @@ public static function ParseBITMAPINFOHEADER($BITMAPINFOHEADER, $littleEndian=tr
21582158
$parsed['biYPelsPerMeter'] = substr($BITMAPINFOHEADER, 28, 4); // vertical resolution, in pixels per metre, of the target device
21592159
$parsed['biClrUsed'] = substr($BITMAPINFOHEADER, 32, 4); // actual number of color indices in the color table used by the bitmap. If this value is zero, the bitmap uses the maximum number of colors corresponding to the value of the biBitCount member for the compression mode specified by biCompression
21602160
$parsed['biClrImportant'] = substr($BITMAPINFOHEADER, 36, 4); // number of color indices that are considered important for displaying the bitmap. If this value is zero, all colors are important
2161-
$parsed = array_map('Utils::'.($littleEndian ? 'Little' : 'Big').'Endian2Int', $parsed);
2161+
$parsed = array_map('JamesHeinrich\\GetID3\\Utils::'.($littleEndian ? 'Little' : 'Big').'Endian2Int', $parsed);
21622162

21632163
$parsed['fourcc'] = substr($BITMAPINFOHEADER, 16, 4); // compression identifier
21642164

0 commit comments

Comments
 (0)