[vlc-devel] [PATCH 1/3] avformat: null terminate data for av_probe_input_format()
Hannes Domani
ssbssa at yahoo.de
Mon Jul 27 19:38:58 CEST 2015
---
modules/demux/avformat/demux.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c
index 50072e6..e34ae88 100644
--- a/modules/demux/avformat/demux.c
+++ b/modules/demux/avformat/demux.c
@@ -181,6 +181,7 @@ int OpenDemux( vlc_object_t *p_this )
msg_Warn( p_demux, "cannot peek" );
return VLC_EGENERIC;
}
+ pd.buf[pd.buf_size] = 0;
stream_Control( p_demux->s, STREAM_CAN_SEEK, &b_can_seek );
vlc_init_avformat(p_this);
--
2.4.6
More information about the vlc-devel
mailing list