mirror of
https://github.com/openharmony/third_party_minimp4.git
synced 2026-06-30 22:07:55 -04:00
fix typos
This commit is contained in:
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user