(int len, Map<String, Object> map)
| 207 | } |
| 208 | |
| 209 | protected int readTKHD(int len, Map<String, Object> map) throws IOException { |
| 210 | map.put("version_flags", readInt()); |
| 211 | map.put("creationTime", readUIntLong()); |
| 212 | map.put("modificationTime", readUIntLong()); |
| 213 | map.put("trackID", readInt()); |
| 214 | readInt(); // reserved |
| 215 | int dur = readInt(); |
| 216 | map.put("duration", dur); |
| 217 | map.put("_duration(sec)", 1.0 * dur / timeScale); |
| 218 | skip(len - 24); |
| 219 | return 0; |
| 220 | } |
| 221 | |
| 222 | protected int readSTSD(int len, Map<String, Object> map) throws IOException { |
| 223 | map.put("version_flags", readInt()); |
no test coverage detected