Code Duplication    Length = 6-6 lines in 2 locations

3rdparty/getID3/getid3/module.audio-video.quicktime.php 2 locations

@@ 421-426 (lines=6) @@
418
								$boxsmallsize = getid3_lib::BigEndian2Int(substr($atom_data, $atomoffset,     2));
419
								$boxsmalltype =                           substr($atom_data, $atomoffset + 2, 2);
420
								$boxsmalldata =                           substr($atom_data, $atomoffset + 4, $boxsmallsize);
421
								if ($boxsmallsize <= 1) {
422
									$this->warning('Invalid QuickTime atom smallbox size "'.$boxsmallsize.'" in atom "'.preg_replace('#[^a-zA-Z0-9 _\\-]#', '?', $atomname).'" at offset: '.($atom_structure['offset'] + $atomoffset));
423
									$atom_structure['data'] = null;
424
									$atomoffset = strlen($atom_data);
425
									break;
426
								}
427
								switch ($boxsmalltype) {
428
									case "\x10\xB5":
429
										$atom_structure['data'] = $boxsmalldata;
@@ 443-448 (lines=6) @@
440
								$boxsize = getid3_lib::BigEndian2Int(substr($atom_data, $atomoffset, 4));
441
								$boxtype =                           substr($atom_data, $atomoffset + 4, 4);
442
								$boxdata =                           substr($atom_data, $atomoffset + 8, $boxsize - 8);
443
								if ($boxsize <= 1) {
444
									$this->warning('Invalid QuickTime atom box size "'.$boxsize.'" in atom "'.preg_replace('#[^a-zA-Z0-9 _\\-]#', '?', $atomname).'" at offset: '.($atom_structure['offset'] + $atomoffset));
445
									$atom_structure['data'] = null;
446
									$atomoffset = strlen($atom_data);
447
									break;
448
								}
449
								$atomoffset += $boxsize;
450
451
								switch ($boxtype) {