Hi Michael,

> > +             if (scale->force_divisible_by > 1) {
> > +                 w = ceil(w / (float)scale->force_divisible_by) *
> > scale->force_divisible_by;
> > +                 h = ceil(h / (float)scale->force_divisible_by) *
> > scale->force_divisible_by;  
> 
> you dont need float here and its better not to use float when not
> needed so theres a chance less for platform bitexactness issues

Updated the patch so it's only using integers as well when rounding up.
I hope this works for you.

Best regards,
Lars
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to