[MPlayer-dev-eng] [PATCH] demux_mpg: Limit how much data probing reads.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Feb 10 20:58:43 CET 2016


Limits data read during probe to 4 MB.
Reading more data can take a long time and also
causes issues with non-seekable streams that only
have the cache to seek back in.
It also increases the chances for false positives.
It might break autodetection of heavily corrupted
files, but that seems like a reasonable compromise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpgprobe.diff
Type: text/x-diff
Size: 1407 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20160210/239d40d4/attachment.diff>


More information about the MPlayer-dev-eng mailing list