comparison utils.c @ 597:d814669d2c13 libavformat

int / int64 fix by (Wolfram Gloger <wmglo @@@ dent:med:uni-muenchen:de>)
author michael
date Tue, 23 Nov 2004 18:23:56 +0000
parents 113101b95d3b
children 0209f7365ccc
comparison
equal deleted inserted replaced
596:a966fb81b076 597:d814669d2c13
1044 * @param backward if non zero then the returned index will correspond to 1044 * @param backward if non zero then the returned index will correspond to
1045 * the timestamp which is <= the requested one, if backward is 0 1045 * the timestamp which is <= the requested one, if backward is 0
1046 * then it will be >= 1046 * then it will be >=
1047 * @return < 0 if no such timestamp could be found 1047 * @return < 0 if no such timestamp could be found
1048 */ 1048 */
1049 int av_index_search_timestamp(AVStream *st, int wanted_timestamp, int backward) 1049 int av_index_search_timestamp(AVStream *st, int64_t wanted_timestamp,
1050 int backward)
1050 { 1051 {
1051 AVIndexEntry *entries= st->index_entries; 1052 AVIndexEntry *entries= st->index_entries;
1052 int nb_entries= st->nb_index_entries; 1053 int nb_entries= st->nb_index_entries;
1053 int a, b, m; 1054 int a, b, m;
1054 int64_t timestamp; 1055 int64_t timestamp;