Commit fa4bdd3c authored by michael's avatar michael

dont reduce the min_distance of AVIndexEntry


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2979 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent dadedc76
......@@ -915,6 +915,9 @@ int av_add_index_entry(AVStream *st,
memmove(entries + index + 1, entries + index, sizeof(AVIndexEntry)*(st->nb_index_entries - index));
}
st->nb_index_entries++;
}else{
if(ie->pos == pos && distance < ie->min_distance) //dont reduce the distance
distance= ie->min_distance;
}
}else{
index= st->nb_index_entries++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment