[vlc-commits] unbreak accesstweaks

Francois Cartegnie git at videolan.org
Thu Sep 3 16:46:43 CEST 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Sep  3 16:38:50 2015 +0200| [07ca931af92bdc8432a34741d7a908b5d289c1f1] | committer: Francois Cartegnie

unbreak accesstweaks

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=07ca931af92bdc8432a34741d7a908b5d289c1f1
---

 modules/stream_filter/accesstweaks.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/stream_filter/accesstweaks.c b/modules/stream_filter/accesstweaks.c
index 61f0c86..c373981 100644
--- a/modules/stream_filter/accesstweaks.c
+++ b/modules/stream_filter/accesstweaks.c
@@ -28,6 +28,7 @@
 #include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_stream.h>
+#include <assert.h>
 
 static int  Open(vlc_object_t *);
 static void Close(vlc_object_t *);
@@ -92,7 +93,7 @@ static ssize_t Read( stream_t *s, void *buffer, size_t i_read )
 
 static int Seek( stream_t *s, uint64_t offset )
 {
-    stream_sys_t *p_sys = p_stream->p_sys;
+    stream_sys_t *p_sys = s->p_sys;
 
     assert( p_sys->b_seek );
     return stream_Seek( s->p_source, offset );



More information about the vlc-commits mailing list