vlc | branch: master | Ilkka Ollakka <[email protected]> | Fri Mar 15 12:06:36 
2013 +0200| [75890fb5e9086d91e92ca6d9abb13a307278238d] | committer: Ilkka 
Ollakka

avformat: don't mark buffer as need to be writable, as we don't write into it 
directly

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

 modules/demux/avformat/mux.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/avformat/mux.c b/modules/demux/avformat/mux.c
index b8734d5..26d476a 100644
--- a/modules/demux/avformat/mux.c
+++ b/modules/demux/avformat/mux.c
@@ -122,7 +122,7 @@ int OpenMux( vlc_object_t *p_this )
 
     p_sys->io = avio_alloc_context(
         p_sys->io_buffer, p_sys->io_buffer_size,
-        1, p_mux, NULL, IOWrite, IOSeek );
+        0, p_mux, NULL, IOWrite, IOSeek );
 
     p_sys->oc->pb = p_sys->io;
     p_sys->oc->nb_streams = 0;

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to