New upstream version 26.0.0+dfsg1
This commit is contained in:
parent
8e020cdacb
commit
240080891f
837 changed files with 41275 additions and 9196 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue