libavformat/mov: Fixes individual track duration on fragmented files

This commit is contained in:
Anthony Bajoua
2025-11-17 22:45:53 -08:00
committed by James Almer
parent 618fc15e65
commit 93ccca22bb

View File

@@ -6228,7 +6228,8 @@ static int mov_read_sidx(MOVContext *c, AVIOContext *pb, MOVAtom atom)
}
}
c->frag_index.complete = 1;
if (offadd == 0)
c->frag_index.complete = 1;
}
return 0;