[vlc-commits] demux: asf: fix time conversion
Francois Cartegnie
git at videolan.org
Sat Dec 7 19:11:57 CET 2013
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Nov 9 16:58:37 2013 +0900| [e8988735670afeb1ab2760862b8d5b0e54e4d891] | committer: Francois Cartegnie
demux: asf: fix time conversion
already microseconds
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e8988735670afeb1ab2760862b8d5b0e54e4d891
---
modules/demux/asf/asf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/asf/asf.c b/modules/demux/asf/asf.c
index c2c6db5..88648c1 100644
--- a/modules/demux/asf/asf.c
+++ b/modules/demux/asf/asf.c
@@ -622,12 +622,12 @@ static int DemuxPayload(demux_t *p_demux, struct asf_packet_t *pkt, int i_payloa
}
else
{
- i_base_pts = (mtime_t)pkt->send_time * 1000;
+ i_base_pts = (mtime_t)pkt->send_time;
}
i_base_pts -= p_sys->p_fp->i_preroll;
if (i_base_pts < 0) i_base_pts = 0; // FIXME?
- i_base_pts *= 1000; // FIXME ?
+ i_base_pts *= 1000;
uint32_t i_payload_data_length = 0;
uint32_t i_temp_payload_length = 0;
More information about the vlc-commits
mailing list