diff options
author | Christophe Gisquet <christophe.gisquet@gmail.com> | 2014-08-17 09:47:46 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-18 09:49:01 +0200 |
commit | 4ddb3a6df0f6ad053c8455e074c1e6688b051272 (patch) | |
tree | 18784a98ada57123f637d8aa5ebc134f0e1d856b /doc | |
parent | 853c1fb66835123c87178420816cff58c18548ed (diff) | |
download | ffmpeg-4ddb3a6df0f6ad053c8455e074c1e6688b051272.tar.gz |
gifdec: use truncated width for image manipulation
Some files seem to have an off-by-one error. In most cases, it appears to
be on the image width. Therefore, if the decoded image doesn't fit in the
screen:
- If it is wider than the screen (and the lzw decoding buffer), reject it;
- Otherwise, decode the indicated amount, but only write a truncated amount
to the screen.
Fixes ticket #3538.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions