Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
lieff committed Nov 4, 2021
1 parent 72cba3a commit 4575afb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion minimp4.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion minimp4_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4575afb

Please sign in to comment.