From 49eb5ef4dd69acb1ceb6ccdb7f4eb1e951e1e4d8 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 16 Nov 2008 10:20:58 +0000 Subject: [PATCH] Use 64 bit numbers for file positions in the seek function in audio demuxer. Hopefully fixes seeking in wav files in-between 2 and 4 GB. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27938 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpdemux/demux_audio.c b/libmpdemux/demux_audio.c index a1371aa5f1..f75a4d6da6 100644 --- a/libmpdemux/demux_audio.c +++ b/libmpdemux/demux_audio.c @@ -605,7 +605,7 @@ static void high_res_mp3_seek(demuxer_t *demuxer,float time) { static void demux_audio_seek(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ sh_audio_t* sh_audio; stream_t* s; - int base,pos; + int64_t base,pos; float len; da_priv_t* priv;