[vlc-devel] [PATCH 1/2] avformat: don't mark buffer as need to be writable, as we don't write into it directly
Ilkka Ollakka
ileoo at videolan.org
Fri Mar 15 11:12:50 CET 2013
---
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;
--
1.8.1.4
More information about the vlc-devel
mailing list