Skip to content

Commit

Permalink
Fixed #2579
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlf committed Sep 1, 2023
1 parent 991d0b7 commit de7f3a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filters/mux_isom.c
Original file line number Diff line number Diff line change
Expand Up @@ -5713,7 +5713,7 @@ static GF_Err mp4_mux_initialize_movie(GF_MP4MuxCtx *ctx)
if (p && p->value.lfrac.den) {
tkw->pid_dur = p->value.lfrac;
if (tkw->pid_dur.num<0) tkw->pid_dur.num = -tkw->pid_dur.num;
if (max_dur.num * (s64) tkw->pid_dur.den < (s64) max_dur.den * tkw->pid_dur.num) {
if (gf_timestamp_less(max_dur.num, max_dur.den, tkw->pid_dur.num, tkw->pid_dur.den)) {
max_dur.num = tkw->pid_dur.num;
max_dur.den = tkw->pid_dur.den;
}
Expand Down

0 comments on commit de7f3a8

Please sign in to comment.