summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_mng.c
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2009-11-30 21:37:30 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2009-11-30 21:37:30 +0000
commit140ffc62a23b22f84656ae768cfe719658aedbc2 (patch)
tree59a2e2ac37121ba9c8b11254f1671432e900db94 /src/demuxers/demux_mng.c
parent5f4681b57dd227a2d2a2dd9050fb6103daa6fabd (diff)
downloadxine-lib-140ffc62a23b22f84656ae768cfe719658aedbc2.tar.gz
xine-lib-140ffc62a23b22f84656ae768cfe719658aedbc2.tar.bz2
Trim trailing space & reduce space+tab.
Diffstat (limited to 'src/demuxers/demux_mng.c')
-rw-r--r--src/demuxers/demux_mng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demuxers/demux_mng.c b/src/demuxers/demux_mng.c
index 0dbdf21a5..c20d3d051 100644
--- a/src/demuxers/demux_mng.c
+++ b/src/demuxers/demux_mng.c
@@ -181,7 +181,7 @@ static int demux_mng_send_chunk(demux_mng_t *this){
buf->decoder_flags = BUF_FLAG_FRAMERATE;
buf->decoder_info[0] = 90 * this->timer_count;
if( this->input->get_length (this->input) )
- buf->extra_info->input_normpos = (int)( (double) this->input->get_current_pos (this->input) *
+ buf->extra_info->input_normpos = (int)( (double) this->input->get_current_pos (this->input) *
65535 / this->input->get_length (this->input) );
buf->extra_info->input_time = this->tick_count;
buf->pts = 90 * this->tick_count;