Dynamically increase probe size for lavf demuxer up to 2 MB.
commit59d3c04b58783a9e12c47fdad9daf32ad46fa71e
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Fri, 12 Feb 2010 20:38:29 +0000 (12 20:38 +0000)
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Fri, 12 Feb 2010 20:38:29 +0000 (12 20:38 +0000)
tree4ac38263a5272b68c425a27c304d3e73fa044d91
parent92e32385082904e80f2d9a1e9b0b4e815325a46e
Dynamically increase probe size for lavf demuxer up to 2 MB.
This will read progressively more data if we still did not detect
the format. The lavfpref demuxer is unaffected to avoid hanging
for a long time in case of a slow network stream that some native
demuxer may be able to handle.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30547 b3059339-0415-0410-9bf9-f77b7e298cf2
libmpdemux/demux_lavf.c