diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2009-11-30 21:24:21 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2009-11-30 21:24:21 +0000 |
commit | add0bcc4c9191cb8980d0b6935ca5d51a9928d82 (patch) | |
tree | 1ef3c98b5183a299107193ceca9135e9f3c57bfc /src/demuxers/demux_shn.c | |
parent | 6d410af50e98533e07dd8ebb8fdd3870192f8a73 (diff) | |
download | xine-lib-add0bcc4c9191cb8980d0b6935ca5d51a9928d82.tar.gz xine-lib-add0bcc4c9191cb8980d0b6935ca5d51a9928d82.tar.bz2 |
Trim trailing space & reduce space+tab.
Diffstat (limited to 'src/demuxers/demux_shn.c')
-rw-r--r-- | src/demuxers/demux_shn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demuxers/demux_shn.c b/src/demuxers/demux_shn.c index ccc34b57f..b4f7c764b 100644 --- a/src/demuxers/demux_shn.c +++ b/src/demuxers/demux_shn.c @@ -83,7 +83,7 @@ static int demux_shn_send_chunk(demux_plugin_t *this_gen) { buf = this->audio_fifo->buffer_pool_alloc (this->audio_fifo); buf->type = BUF_AUDIO_SHORTEN; 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->pts = 0; @@ -92,7 +92,7 @@ static int demux_shn_send_chunk(demux_plugin_t *this_gen) { buf->free_buffer(buf); this->status = DEMUX_FINISHED; return this->status; - } else + } else buf->size = bytes_read; /* each buffer stands on its own */ |