[vlc-devel] [PATCH] avformat: respect the const introduced by 862771a804bb72e0150234f8ffc0f4a11fd5e3bd
Steve Lhomme
robux4 at videolabs.io
Tue Nov 10 09:07:22 CET 2015
&p_input->fmt == p_input->p_fmt
---
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 0baef1a..da00d3e 100644
--- a/modules/demux/avformat/mux.c
+++ b/modules/demux/avformat/mux.c
@@ -173,7 +173,7 @@ void CloseMux( vlc_object_t *p_this )
static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
{
sout_mux_sys_t *p_sys = p_mux->p_sys;
- es_format_t *fmt = p_input->p_fmt;
+ es_format_t *fmt = &p_input->fmt;
AVCodecContext *codec;
AVStream *stream;
unsigned i_codec_id;
--
2.6.2
More information about the vlc-devel
mailing list