summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_asf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/demuxers/demux_asf.c')
-rw-r--r--src/demuxers/demux_asf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/demuxers/demux_asf.c b/src/demuxers/demux_asf.c
index 0b30b5560..0bf92a2c6 100644
--- a/src/demuxers/demux_asf.c
+++ b/src/demuxers/demux_asf.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux_asf.c,v 1.95 2003/01/09 02:57:32 miguelfreitas Exp $
+ * $Id: demux_asf.c,v 1.96 2003/01/10 11:57:15 miguelfreitas Exp $
*
* demultiplexer for asf streams
*
@@ -805,7 +805,7 @@ static void asf_send_buffer_nodefrag (demux_asf_t *this, asf_stream_t *stream,
buf->extra_info->input_pos = this->input->get_current_pos (this->input);
if (this->rate)
- buf->extra_info->input_time = buf->extra_info->input_pos / this->rate;
+ buf->extra_info->input_time = buf->extra_info->input_pos * 1000 / this->rate;
else
buf->extra_info->input_time = 0;
@@ -902,7 +902,7 @@ static void asf_send_buffer_defrag (demux_asf_t *this, asf_stream_t *stream,
buf->extra_info->input_pos = this->input->get_current_pos (this->input);
if (this->rate)
- buf->extra_info->input_time = buf->extra_info->input_pos / this->rate;
+ buf->extra_info->input_time = buf->extra_info->input_pos * 1000 / this->rate;
else
buf->extra_info->input_time = 0;