diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2009-08-05 22:51:53 +0100 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2009-08-05 22:51:53 +0100 |
commit | c579d6f6fb0fd0075faf02a80be1a24f7f75071a (patch) | |
tree | 9ecca7232b48a5e3421d48d10c9d9861f95c5b36 /src/demuxers | |
parent | c2c388cfc3258d237493df7e4efdfe2562abe78b (diff) | |
parent | 08c9d1d6bce967a909bb55a967bf694ce29b4f48 (diff) | |
download | xine-lib-c579d6f6fb0fd0075faf02a80be1a24f7f75071a.tar.gz xine-lib-c579d6f6fb0fd0075faf02a80be1a24f7f75071a.tar.bz2 |
Merge from 1.1.
--HG--
rename : src/libmusepack/xine_musepack_decoder.c => src/audio_dec/xine_musepack_decoder.c
Diffstat (limited to 'src/demuxers')
-rw-r--r-- | src/demuxers/demux_rawdv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/demuxers/demux_rawdv.c b/src/demuxers/demux_rawdv.c index bffd4c9c0..aed2b7c75 100644 --- a/src/demuxers/demux_rawdv.c +++ b/src/demuxers/demux_rawdv.c @@ -302,7 +302,8 @@ static int demux_raw_dv_seek (demux_plugin_t *this_gen, } if( !start_pos && start_time ) { - start_pos = (start_time * 90 / this->duration) * this->frame_size; + /* Upcast start_time in case sizeof(off_t) > sizeof(int) */ + start_pos = ((off_t) start_time * 90 / this->duration) * this->frame_size; } start_pos = start_pos - (start_pos % this->frame_size); |