New upstream version 26.0.0+dfsg1

This commit is contained in:
Sebastian Ramacher 2020-10-01 22:15:25 +02:00
parent 8e020cdacb
commit 240080891f
837 changed files with 41275 additions and 9196 deletions

View file

@ -160,12 +160,12 @@ static void calc_crop_dimensions(struct crop_filter_data *filter,
if (filter->height < 1)
filter->height = 1;
if (width && filter->width) {
if (width) {
mul_val->x = (float)filter->width / (float)width;
add_val->x = (float)filter->left / (float)width;
}
if (height && filter->height) {
if (height) {
mul_val->y = (float)filter->height / (float)height;
add_val->y = (float)filter->top / (float)height;
}