Code Duplication    Length = 7-10 lines in 2 locations

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

@@ 1677-1686 (lines=10) @@
1674
					$atom_structure['data'] = $atom_data;
1675
					break;
1676
1677
				case "\x00\x00\x00\x00":
1678
					// some kind of metacontainer, may contain a big data dump such as:
1679
					// mdta keys \005 mdtacom.apple.quicktime.make (mdtacom.apple.quicktime.creationdate ,mdtacom.apple.quicktime.location.ISO6709 $mdtacom.apple.quicktime.software !mdtacom.apple.quicktime.model ilst \01D \001 \015data \001DE\010Apple 0 \002 (data \001DE\0102011-05-11T17:54:04+0200 2 \003 *data \001DE\010+52.4936+013.3897+040.247/ \01D \004 \015data \001DE\0104.3.1 \005 \018data \001DE\010iPhone 4
1680
					// https://xhelmboyx.tripod.com/formats/qti-layout.txt
1681
1682
					$atom_structure['version']   =          getid3_lib::BigEndian2Int(substr($atom_data, 0, 1));
1683
					$atom_structure['flags_raw'] =          getid3_lib::BigEndian2Int(substr($atom_data, 1, 3));
1684
					$atom_structure['subatoms']  = $this->QuicktimeParseContainerAtom(substr($atom_data, 4), $baseoffset + 8, $atomHierarchy, $ParseAllPossibleAtoms);
1685
					//$atom_structure['subatoms']  = $this->QuicktimeParseContainerAtom($atom_data, $baseoffset + 8, $atomHierarchy, $ParseAllPossibleAtoms);
1686
					break;
1687
1688
				case 'meta': // METAdata atom
1689
					// https://developer.apple.com/library/mac/documentation/QuickTime/QTFF/Metadata/Metadata.html
@@ 1688-1694 (lines=7) @@
1685
					//$atom_structure['subatoms']  = $this->QuicktimeParseContainerAtom($atom_data, $baseoffset + 8, $atomHierarchy, $ParseAllPossibleAtoms);
1686
					break;
1687
1688
				case 'meta': // METAdata atom
1689
					// https://developer.apple.com/library/mac/documentation/QuickTime/QTFF/Metadata/Metadata.html
1690
1691
					$atom_structure['version']   =          getid3_lib::BigEndian2Int(substr($atom_data, 0, 1));
1692
					$atom_structure['flags_raw'] =          getid3_lib::BigEndian2Int(substr($atom_data, 1, 3));
1693
					$atom_structure['subatoms']  = $this->QuicktimeParseContainerAtom($atom_data, $baseoffset + 8, $atomHierarchy, $ParseAllPossibleAtoms);
1694
					break;
1695
1696
				case 'data': // metaDATA atom
1697
					static $metaDATAkey = 1; // real ugly, but so is the QuickTime structure that stores keys and values in different multinested locations that are hard to relate to each other