D | matroskaenc.c | 61 #define IS_SEEKABLE(pb, mkv) (((pb)->seekable & AVIO_SEEKABLE_NORMAL) && \ argument 62 !(mkv)->is_live) 357 static void mkv_add_seekhead_entry(MatroskaMuxContext *mkv, uint32_t elementid, in mkv_add_seekhead_entry() argument 360 mkv_seekhead *seekhead = &mkv->seekhead; in mkv_add_seekhead_entry() 365 seekhead->entries[seekhead->num_entries++].segmentpos = filepos - mkv->segment_offset; in mkv_add_seekhead_entry() 368 static int start_ebml_master_crc32(AVIOContext **dyn_cp, MatroskaMuxContext *mkv) in start_ebml_master_crc32() argument 375 if (mkv->write_crc) in start_ebml_master_crc32() 382 MatroskaMuxContext *mkv, uint32_t id, in end_ebml_master_crc32() argument 394 mkv_add_seekhead_entry(mkv, id, avio_tell(pb)); in end_ebml_master_crc32() 398 if (mkv->write_crc) { in end_ebml_master_crc32() [all …]
|