Mercurial > libavformat.hg
changeset 425:24545aa514e8 libavformat
dont reduce the min_distance of AVIndexEntry
author | michael |
---|---|
date | Wed, 07 Apr 2004 21:33:53 +0000 |
parents | dc59cb26955c |
children | 652aaf869c7b |
files | utils.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.c Wed Apr 07 14:00:16 2004 +0000 +++ b/utils.c Wed Apr 07 21:33:53 2004 +0000 @@ -915,6 +915,9 @@ 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++;