[vlc-commits] avformat: respect the const introduced by 862771a804bb72e0150234f8ffc0f4a11fd5e3bd
Steve Lhomme
git at videolan.org
Mon Nov 16 10:31:59 CET 2015
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Tue Nov 10 09:07:22 2015 +0100| [0def37640ffa288c31bc7c81d9e4df3323c03418] | committer: Jean-Baptiste Kempf
avformat: respect the const introduced by 862771a804bb72e0150234f8ffc0f4a11fd5e3bd
&p_input->fmt == p_input->p_fmt
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0def37640ffa288c31bc7c81d9e4df3323c03418
---
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;
More information about the vlc-commits
mailing list