mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-29 10:43:15 +00:00
redundant check--
Originally committed as revision 13474 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c1815c3700
commit
5e5c908691
@ -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…
Reference in New Issue
Block a user