redundant check--

Originally committed as revision 13474 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 17 years ago
parent c1815c3700
commit 5e5c908691
  1. 3
      libavformat/utils.c

@ -1354,7 +1354,8 @@ static int av_seek_frame_generic(AVFormatContext *s,
int i;
AVPacket pkt;
if(st->index_entries && st->nb_index_entries){
if(st->nb_index_entries){
assert(st->index_entries);
ie= &st->index_entries[st->nb_index_entries-1];
url_fseek(s->pb, ie->pos, SEEK_SET);
av_update_cur_dts(s, st, ie->timestamp);

Loading…
Cancel
Save