diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-03-01 11:29:55 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-03-01 11:29:55 +0000 |
commit | 30a43f2d09d4ddb7f6335dfd32796896e64b2655 (patch) | |
tree | ab32569d2b2a35be737151c12e375aaedd573e14 /libavformat/rm.c | |
parent | 26d6d032702c55616127511fa317b96763eb5cb3 (diff) | |
download | ffmpeg-30a43f2d09d4ddb7f6335dfd32796896e64b2655.tar.gz |
add size to AVIndex
Originally committed as revision 5083 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rm.c')
-rw-r--r-- | libavformat/rm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rm.c b/libavformat/rm.c index 748d3f209f..c9c1b2aaa4 100644 --- a/libavformat/rm.c +++ b/libavformat/rm.c @@ -982,7 +982,7 @@ resync: if(flags&2){ pkt->flags |= PKT_FLAG_KEY; if((seq&0x7F) == 1) - av_add_index_entry(st, pos, timestamp, 0, AVINDEX_KEYFRAME); + av_add_index_entry(st, pos, timestamp, 0, 0, AVINDEX_KEYFRAME); } } @@ -1054,7 +1054,7 @@ static int64_t rm_read_dts(AVFormatContext *s, int stream_index, if((flags&2) && (seq&0x7F) == 1){ // av_log(s, AV_LOG_DEBUG, "%d %d-%d %Ld %d\n", flags, stream_index2, stream_index, dts, seq); - av_add_index_entry(st, pos, dts, 0, AVINDEX_KEYFRAME); + av_add_index_entry(st, pos, dts, 0, 0, AVINDEX_KEYFRAME); if(stream_index2 == stream_index) break; } |