]> git.sesse.net Git - vlc/commitdiff
ffmpeg changed offset_t to int64_t in svn rev15533. Let's keep up with them.
authorDominique Leuenberger <dominique@leuenberger.net>
Sat, 4 Oct 2008 04:00:44 +0000 (06:00 +0200)
committerChristophe Mutricy <xtophe@videolan.org>
Sat, 4 Oct 2008 18:46:43 +0000 (19:46 +0100)
Signed-Off-By: Christophe Mutricy
modules/demux/avformat/demux.c
modules/demux/avformat/mux.c

index 3c17ac48ef5634f2a483c9ff557b8abc99e033a3..f093079c5d3862ec68c1fd3e4f13c20a0f07ac0e 100644 (file)
@@ -96,7 +96,7 @@ static int Demux  ( demux_t *p_demux );
 static int Control( demux_t *p_demux, int i_query, va_list args );
 
 static int IORead( void *opaque, uint8_t *buf, int buf_size );
-static offset_t IOSeek( void *opaque, offset_t offset, int whence );
+static int64_t IOSeek( void *opaque, int64_t offset, int whence );
 
 static void UpdateSeekPoint( demux_t *p_demux, int64_t i_time );
 
@@ -187,7 +187,7 @@ int OpenDemux( vlc_object_t *p_this )
                     (int (*) (URLContext *, unsigned char *, int))IORead;
     p_sys->url.prot->url_write = 0;
     p_sys->url.prot->url_seek =
-                    (offset_t (*) (URLContext *, offset_t, int))IOSeek;
+                    (int64_t (*) (URLContext *, int64_t, int))IOSeek;
     p_sys->url.prot->url_close = 0;
     p_sys->url.prot->next = 0;
     init_put_byte( &p_sys->io, p_sys->io_buffer, p_sys->io_buffer_size,
@@ -650,7 +650,7 @@ static int IORead( void *opaque, uint8_t *buf, int buf_size )
     return i_ret ? i_ret : -1;
 }
 
-static offset_t IOSeek( void *opaque, offset_t offset, int whence )
+static int64_t IOSeek( void *opaque, int64_t offset, int whence )
 {
     URLContext *p_url = opaque;
     demux_t *p_demux = p_url->priv_data;
index 14b19cef1488d79b18f8d424982b2a2e4413139c..5853db72c939a2f7cddd4fdcc90f9a3d86ca568d 100644 (file)
@@ -78,7 +78,7 @@ static int DelStream( sout_mux_t *, sout_input_t * );
 static int Mux      ( sout_mux_t * );
 
 static int IOWrite( void *opaque, uint8_t *buf, int buf_size );
-static offset_t IOSeek( void *opaque, offset_t offset, int whence );
+static int64_t IOSeek( void *opaque, int64_t offset, int whence );
 
 /*****************************************************************************
  * Open
@@ -135,7 +135,7 @@ int OpenMux( vlc_object_t *p_this )
     p_sys->url.prot->url_write =
                     (int (*) (URLContext *, unsigned char *, int))IOWrite;
     p_sys->url.prot->url_seek =
-                    (offset_t (*) (URLContext *, offset_t, int))IOSeek;
+                    (int64_t (*) (URLContext *, int64_t, int))IOSeek;
     p_sys->url.prot->url_close = 0;
     p_sys->url.prot->next = 0;
     init_put_byte( &p_sys->io, p_sys->io_buffer, p_sys->io_buffer_size,
@@ -475,7 +475,7 @@ static int IOWrite( void *opaque, uint8_t *buf, int buf_size )
     return i_ret ? i_ret : -1;
 }
 
-static offset_t IOSeek( void *opaque, offset_t offset, int whence )
+static int64_t IOSeek( void *opaque, int64_t offset, int whence )
 {
     URLContext *p_url = opaque;
     sout_mux_t *p_mux = p_url->priv_data;