(int len, Map<String, Object> map)
| 168 | } |
| 169 | |
| 170 | protected int readFTYP(int len, Map<String, Object> map) throws IOException { |
| 171 | String info = ""; |
| 172 | while (len > 0) { |
| 173 | String s = readString(4); |
| 174 | len -= 4; |
| 175 | if (s.charAt(0) != '\0') |
| 176 | info += s + " "; |
| 177 | } |
| 178 | info = info.trim(); |
| 179 | if (verbose) |
| 180 | System.out.println("filetype=" + info); |
| 181 | fileType = info; |
| 182 | return len; |
| 183 | } |
| 184 | |
| 185 | protected int readMVHD(int len, Map<String, Object> map) throws IOException { |
| 186 | map.put("version_flags", readInt()); |
no test coverage detected