[vlc-commits] avformat: respect the const introduced by 862771a804bb72e0150234f8ffc0f4a11fd5e3bd
Steve Lhomme
git at videolan.org
Thu Nov 26 19:00:48 CET 2015
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Tue Nov 10 09:07:22 2015 +0100| [50f0fb4f723350f650329cd2f33662d6e499b126] | 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=50f0fb4f723350f650329cd2f33662d6e499b126
---
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