diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-02-19 17:20:35 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-03-15 20:05:04 +0100 |
commit | aa3c77998404cc32233cb76e961ca27db8565459 (patch) | |
tree | 75146cced2d53e14faf572567464d25d3e784736 /presets/libx264-veryfast.avpreset | |
parent | ca6c3f2c53be70aa3c38e8f1292809db89ea1ba6 (diff) | |
download | ffmpeg-aa3c77998404cc32233cb76e961ca27db8565459.tar.gz |
lavf: sanity check size in av_get/append_packet().
To avoid allocating ridiculous amounts of memory for corrupted files,
read the input in chunks limited to filesize or an arbitrary large
amount when that is not known (chosen to be 50M).
Diffstat (limited to 'presets/libx264-veryfast.avpreset')
0 files changed, 0 insertions, 0 deletions