diff asf.c @ 979:d2e5dfdf4def libavformat

add size to AVIndex
author michael
date Wed, 01 Mar 2006 11:29:55 +0000
parents d983c2b9333e
children 30b54c043135
line wrap: on
line diff
--- a/asf.c	Wed Mar 01 07:42:55 2006 +0000
+++ b/asf.c	Wed Mar 01 11:29:55 2006 +0000
@@ -813,7 +813,7 @@
             assert((asf_st->packet_pos - s->data_offset) % asf->packet_size == 0);
             pos= asf_st->packet_pos;
 
-            av_add_index_entry(s->streams[i], pos, pts, pos - start_pos[i] + 1, AVINDEX_KEYFRAME);
+            av_add_index_entry(s->streams[i], pos, pkt->size, pts, pos - start_pos[i] + 1, AVINDEX_KEYFRAME);
             start_pos[i]= asf_st->packet_pos + 1;
 
             if(pkt->stream_index == stream_index)