1 #include "funcprotos.h"
6 void quicktime_read_odml(quicktime_t
*file
, quicktime_atom_t
*parent_atom
)
11 void quicktime_init_odml(quicktime_t
*file
, quicktime_hdrl_t
*hdrl
)
13 quicktime_atom_t list_atom
, dmlh_atom
;
17 quicktime_atom_write_header(file
, &list_atom
, "LIST");
18 quicktime_write_char32(file
, "odml");
20 quicktime_atom_write_header(file
, &dmlh_atom
, "dmlh");
22 // Placeholder for total frames in all RIFF objects
23 hdrl
->total_frames_offset
= quicktime_position(file
);
24 quicktime_write_int32_le(file
, 0);
26 quicktime_atom_write_footer(file
, &dmlh_atom
);
27 quicktime_atom_write_footer(file
, &list_atom
);
30 void quicktime_finalize_odml(quicktime_t
*file
, quicktime_hdrl_t
*hdrl
)
32 // Get length in frames
33 quicktime_set_position(file
, hdrl
->total_frames_offset
);
34 // quicktime_write_int32_le(file, );