Calculate pts with double precision in demux_asf

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23489 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
uau
2007-06-07 09:17:10 +00:00
parent 02b22f84c8
commit 2d06dc3ce7
+2 -2
View File
@@ -226,9 +226,9 @@ static int demux_asf_read_packet(demuxer_t *demux,unsigned char *data,int len,in
dp=new_demux_packet(len);
fast_memcpy(dp->buffer,data,len);
if (asf->asf_is_dvr_ms)
dp->pts=time*0.0000001f;
dp->pts=time*0.0000001;
else
dp->pts=time*0.001f;
dp->pts=time*0.001;
dp->flags=keyframe;
// if(ds==demux->video) printf("ASF time: %8d dur: %5d \n",time,dur);
dp->pos=demux->filepos;