From d75f4cfa3718ee2084b602fd609789b0a94c399e Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Mon, 28 Sep 2009 08:09:13 +0200 Subject: [PATCH] Avformat, increase buf_size to 2048 + 213 for aea support For some reason, the aea probe needs to be > 2048 + 212. I would thought that >= would be enough, but it doesn't seem so. I hope it won't increase too much in the future. --- modules/demux/avformat/demux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c index 39ada49629..1afdd2aaec 100644 --- a/modules/demux/avformat/demux.c +++ b/modules/demux/avformat/demux.c @@ -115,7 +115,7 @@ int OpenDemux( vlc_object_t *p_this ) /* Init Probe data */ pd.filename = p_demux->psz_path; - if( ( pd.buf_size = stream_Peek( p_demux->s, &pd.buf, 2048 ) ) <= 0 ) + if( ( pd.buf_size = stream_Peek( p_demux->s, &pd.buf, 2048 + 213 ) ) <= 0 ) { msg_Warn( p_demux, "cannot peek" ); return VLC_EGENERIC; -- 2.39.5