summaryrefslogtreecommitdiff
path: root/libavformat/asf.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-03-01 11:29:55 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-03-01 11:29:55 +0000
commit30a43f2d09d4ddb7f6335dfd32796896e64b2655 (patch)
treeab32569d2b2a35be737151c12e375aaedd573e14 /libavformat/asf.c
parent26d6d032702c55616127511fa317b96763eb5cb3 (diff)
add size to AVIndex
Originally committed as revision 5083 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/asf.c')
-rw-r--r--libavformat/asf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asf.c b/libavformat/asf.c
index e22e6e3940..29af3172a4 100644
--- a/libavformat/asf.c
+++ b/libavformat/asf.c
@@ -813,7 +813,7 @@ static int64_t asf_read_pts(AVFormatContext *s, int stream_index, int64_t *ppos,
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)