[vlc-devel] [PATCH 4/4] avformat: add zero padding needed for av_probe_input_format()
Hannes Domani
ssbssa at yahoo.de
Tue Jul 28 18:12:28 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..5d2c1c3 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;
}
+ memset( pd.buf + pd.buf_size, 0, AVPROBE_PADDING_SIZE );
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