Fix index_entries pos:
It was being set wrong for files with data_offset > 0 Patch by Michael Chinen, mchinen gmail Originally committed as revision 25239 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
committed by
Carl Eugen Hoyos
parent
c6625ad541
commit
59cb40b921
@ -1159,10 +1159,6 @@ static int av_read_frame_internal(AVFormatContext *s, AVPacket *pkt)
|
||||
}else if(st->need_parsing == AVSTREAM_PARSE_FULL_ONCE){
|
||||
st->parser->flags |= PARSER_FLAG_ONCE;
|
||||
}
|
||||
if(st->parser && (s->iformat->flags & AVFMT_GENERIC_INDEX)){
|
||||
st->parser->next_frame_offset=
|
||||
st->parser->cur_offset= st->cur_pkt.pos;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user