Commit 50f0fb4f authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

avformat: respect the const introduced by 862771a8

&p_input->fmt == p_input->p_fmt
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 18a7aaca
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment