diff --git a/libavformat/mov.c b/libavformat/mov.c index db8f8208a6..009ddfec80 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -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;