Code Duplication    Length = 6-6 lines in 2 locations

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

@@ 445-450 (lines=6) @@
442
								$boxsmallsize = getid3_lib::BigEndian2Int(substr($atom_data, $atomoffset,     2));
443
								$boxsmalltype =                           substr($atom_data, $atomoffset + 2, 2);
444
								$boxsmalldata =                           substr($atom_data, $atomoffset + 4, $boxsmallsize);
445
								if ($boxsmallsize <= 1) {
446
									$this->warning('Invalid QuickTime atom smallbox size "'.$boxsmallsize.'" in atom "'.preg_replace('#[^a-zA-Z0-9 _\\-]#', '?', $atomname).'" at offset: '.($atom_structure['offset'] + $atomoffset));
447
									$atom_structure['data'] = null;
448
									$atomoffset = strlen($atom_data);
449
									break;
450
								}
451
								switch ($boxsmalltype) {
452
									case "\x10\xB5":
453
										$atom_structure['data'] = $boxsmalldata;
@@ 467-472 (lines=6) @@
464
								$boxsize = getid3_lib::BigEndian2Int(substr($atom_data, $atomoffset, 4));
465
								$boxtype =                           substr($atom_data, $atomoffset + 4, 4);
466
								$boxdata =                           substr($atom_data, $atomoffset + 8, $boxsize - 8);
467
								if ($boxsize <= 1) {
468
									$this->warning('Invalid QuickTime atom box size "'.$boxsize.'" in atom "'.preg_replace('#[^a-zA-Z0-9 _\\-]#', '?', $atomname).'" at offset: '.($atom_structure['offset'] + $atomoffset));
469
									$atom_structure['data'] = null;
470
									$atomoffset = strlen($atom_data);
471
									break;
472
								}
473
								$atomoffset += $boxsize;
474
475
								switch ($boxtype) {