Commit 5e5c9086 authored by Michael Niedermayer's avatar Michael Niedermayer

redundant check--

Originally committed as revision 13474 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent c1815c37
......@@ -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);
......
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