summaryrefslogtreecommitdiff
path: root/libavformat/asf.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-05-23 16:26:12 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-05-23 16:26:12 +0000
commitcdd5034f892c8c6494d24a6991aa62748ee332db (patch)
treeca436f5cc904e9ca648f46bd0eea651b9e345a20 /libavformat/asf.c
parent9debb40040c4c040220b189c220e3089d8220cd0 (diff)
store index for seeking in the native timebase of each stream
set correct timebase for nut merge mpeg-ts seeking with existing seeking code 10l fix in mpegts (27mhz vs. 90khz) Originally committed as revision 3152 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 0fb6540310..5ab128e716 100644
--- a/libavformat/asf.c
+++ b/libavformat/asf.c
@@ -732,7 +732,7 @@ static int64_t asf_read_pts(AVFormatContext *s, int stream_index, int64_t *ppos,
return AV_NOPTS_VALUE;
}
- pts= pkt->pts;
+ pts= pkt->pts * 1000 / AV_TIME_BASE;
av_free_packet(pkt);
if(pkt->flags&PKT_FLAG_KEY){