Revision 30a43f2d libavformat/asf.c

View differences:

libavformat/asf.c
813 813
            assert((asf_st->packet_pos - s->data_offset) % asf->packet_size == 0);
814 814
            pos= asf_st->packet_pos;
815 815

  
816
            av_add_index_entry(s->streams[i], pos, pts, pos - start_pos[i] + 1, AVINDEX_KEYFRAME);
816
            av_add_index_entry(s->streams[i], pos, pkt->size, pts, pos - start_pos[i] + 1, AVINDEX_KEYFRAME);
817 817
            start_pos[i]= asf_st->packet_pos + 1;
818 818

  
819 819
            if(pkt->stream_index == stream_index)

Also available in: Unified diff