diff asf.c @ 463:696f41bc8784 libavformat

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)
author michael
date Sun, 23 May 2004 16:26:12 +0000
parents b69898ffc92a
children 0fdc96c2f2fe
line wrap: on
line diff
--- a/asf.c	Fri May 21 20:43:21 2004 +0000
+++ b/asf.c	Sun May 23 16:26:12 2004 +0000
@@ -732,7 +732,7 @@
     	    return AV_NOPTS_VALUE;
         }
         
-        pts= pkt->pts;
+        pts= pkt->pts * 1000 / AV_TIME_BASE;
 
         av_free_packet(pkt);
         if(pkt->flags&PKT_FLAG_KEY){