@@ -100,7 +100,16 @@
p_sys->p_context->noise_reduction =
p_sys->i_noise_reduction;
--- modules/codec/ffmpeg/demux.c.orig 2008-12-29 11:00:02.000000000 +0100
-+++ modules/codec/ffmpeg/demux.c 2008-12-29 11:07:31.000000000 +0100
++++ modules/codec/ffmpeg/demux.c 2008-12-29 18:48:39.000000000 +0100
+@@ -76,7 +76,7 @@
+ 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 );
+
+ /*****************************************************************************
+ * Open
@@ -162,7 +162,7 @@
(int (*) (URLContext *, unsigned char *, int))IORead;
p_sys->url.prot->url_write = 0;
@@ -127,7 +136,7 @@
}
-static offset_t IOSeek( void *opaque, offset_t offset, int whence )
-+static int64_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;
|