Code Duplication    Length = 5-5 lines in 2 locations

3rdparty/getID3/getid3/module.audio-video.quicktime.php 1 location

@@ 1255-1259 (lines=5) @@
1252
				case 'chap': // CHAPter list atom
1253
				case 'sync': // SYNChronization atom
1254
				case 'scpt': // tranSCriPT atom
1255
				case 'ssrc': // non-primary SouRCe atom
1256
					for ($i = 0; $i < strlen($atom_data); $i += 4) {
1257
						@$atom_structure['track_id'][] = getid3_lib::BigEndian2Int(substr($atom_data, $i, 4));
1258
					}
1259
					break;
1260
1261
1262
				case 'elst': // Edit LiST atom

3rdparty/getID3/getid3/module.graphic.png.php 1 location

@@ 151-155 (lines=5) @@
148
							$thisfile_png_chunk_type_text['transparent_color_blue']  = getid3_lib::BigEndian2Int(substr($chunk['data'], 4, 2));
149
							break;
150
151
						case 3:
152
							for ($i = 0; $i < strlen($chunk['data']); $i++) {
153
								$thisfile_png_chunk_type_text['palette_opacity'][$i] = getid3_lib::BigEndian2Int(substr($chunk['data'], $i, 1));
154
							}
155
							break;
156
157
						case 4:
158
						case 6: