@@ -140,3 +140,32 @@
{
URLContext *p_url = opaque;
demux_t *p_demux = p_url->priv_data;
+--- modules/codec/ffmpeg/mux.c.orig 2008-12-29 19:57:26.000000000 +0100
++++ modules/codec/ffmpeg/mux.c 2008-12-29 19:59:18.000000000 +0100
+@@ -74,7 +74,7 @@
+ 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
+@@ -119,7 +119,7 @@
+ 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,
+@@ -422,7 +422,7 @@
+ 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;
|