Commit d75f4cfa authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

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.
parent 298a634e
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment