diff options
author | Michael Chinen <mchinen@gmail.com> | 2010-09-28 02:17:58 +0400 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2010-09-28 02:17:58 +0400 |
commit | 59cb40b92194c272c4d097c702a46f90edb94958 (patch) | |
tree | ad8f74c29dd0b6008e59f3780bdfb43d522b026d /libavformat | |
parent | c6625ad5410389f6bca582b53b23bcd60030e00c (diff) |
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
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/utils.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index a445e0b861..24dbd88feb 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -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; - } } } } |