fix typos

This commit is contained in:
lieff
2021-11-04 18:31:43 +03:00
parent 8a7fb72667
commit fc694a9f5d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1226,7 +1226,7 @@ static int mp4e_flush_index(MP4E_mux_t *mux)
{
// update size of mdat box.
// One of 2 points, which requires random file access.
// Second is optonal duration update at beginning of file in fragmenatation mode.
// Second is optional duration update at beginning of file in fragmentation mode.
// This can be avoided using "till eof" size code, but in this case indexes must be
// written before the mdat....
int64_t size = mux->write_pos - sizeof(box_ftyp);
+1 -1
View File
@@ -229,7 +229,7 @@ int main(int argc, char **argv)
if (do_demux)
return demux(alloc_buf, h264_size, fout, track);
int is_hevc = (0 != strstr(argv[1], "265")) || (0 != strstr(argv[i], "hevc"));
int is_hevc = (0 != strstr(argv[i], "265")) || (0 != strstr(argv[i], "hevc"));
MP4E_mux_t *mux;
mp4_h26x_writer_t mp4wr;