[MPlayer-cvslog] r27938 - trunk/libmpdemux/demux_audio.c

reimar subversion at mplayerhq.hu
Sun Nov 16 11:20:58 CET 2008


Author: reimar
Date: Sun Nov 16 11:20:58 2008
New Revision: 27938

Log:
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.


Modified:
   trunk/libmpdemux/demux_audio.c

Modified: trunk/libmpdemux/demux_audio.c
==============================================================================
--- trunk/libmpdemux/demux_audio.c	(original)
+++ trunk/libmpdemux/demux_audio.c	Sun Nov 16 11:20:58 2008
@@ -605,7 +605,7 @@ static void high_res_mp3_seek(demuxer_t 
 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;
 



More information about the MPlayer-cvslog mailing list