Commit 7656f168 authored by michael's avatar michael

redundant check--


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13474 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7e68c90c
......@@ -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