1 Index: libavformat/mov.c
2 ===================================================================
3 --- ffmpeg.orig/libavformat/mov.c (revision 22950)
4 +++ ffmpeg/libavformat/mov.c (working copy)
7 sample = av_index_search_timestamp(st, timestamp, flags);
8 dprintf(s, "stream %d, timestamp %"PRId64", sample %d\n", st->index, timestamp, sample);
9 + if (sample < 0 && st->nb_index_entries && timestamp < st->index_entries[0].timestamp)
11 if (sample < 0) /* not sure what to do */
13 sc->current_sample = sample;