diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-11-25 00:11:55 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-11-25 00:36:22 +0100 |
| commit | e43dababfc7aaf1429d3552e91b24e4e51979111 (patch) | |
| tree | ddb1d0119531ea1e6e91b210b8f8413f5a904f48 /test/data | |
| parent | 8a1da1da65ba0e6a6fb915c73ff6e6a81da349f2 (diff) | |
Fix corrupted image when over-cropping black filler frames.
FFmpegDecoder can emit small black frames (128x128 pixels) when it
wants to fill in a gap. Image::crop_scale_window would do the wrong
thing if we then applied a crop of greater than 128 in either direction;
though cropped_size is correctly clamped, the crop value itself was
not and is used to calculate the input data pointers.
This would result in random frames, usually at the end of DCPs,
often made up of blurry colour washes.
Diffstat (limited to 'test/data')
| m--------- | test/data | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/test/data b/test/data -Subproject f47d073d6610bdb3ae0ad9d842c4d66a6e9a16d +Subproject b5863343b9157102144f70aa4269ec03922692f |
