]> git.sesse.net Git - vlc/commitdiff
avformat: don't mark buffer as need to be writable, as we don't write into it directly
authorIlkka Ollakka <ileoo@videolan.org>
Fri, 15 Mar 2013 10:06:36 +0000 (12:06 +0200)
committerIlkka Ollakka <ileoo@videolan.org>
Sun, 17 Mar 2013 15:07:19 +0000 (17:07 +0200)
modules/demux/avformat/mux.c

index b8734d566decd91b429f458287e1dfd5d7479248..26d476a6d19a78de392750af28e101190556cb25 100644 (file)
@@ -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;