[FFmpeg-soc] [soc]: r4497 - seek_api/utils.c
spyfeng
subversion at mplayerhq.hu
Sun Jun 21 20:11:50 CEST 2009
Author: spyfeng
Date: Sun Jun 21 20:11:50 2009
New Revision: 4497
Log:
set correct pos for index entires.
Modified:
seek_api/utils.c
Modified: seek_api/utils.c
==============================================================================
--- seek_api/utils.c Sun Jun 21 20:09:54 2009 (r4496)
+++ seek_api/utils.c Sun Jun 21 20:11:50 2009 (r4497)
@@ -945,7 +945,7 @@ static int av_read_frame_internal(AVForm
if((s->iformat->flags & AVFMT_GENERIC_INDEX) && pkt->flags & PKT_FLAG_KEY){
ff_reduce_index(s, st->index);
- av_add_index_entry(st, st->parser->frame_offset, pkt->dts,
+ av_add_index_entry(st, pkt->pos/*st->parser->frame_offset*/, pkt->dts,
0, 0, AVINDEX_KEYFRAME);
}
More information about the FFmpeg-soc
mailing list