Hi, Baptiste Coudurier wrote: [...] > Now I don't remember why cropping is needed when padding and resampling > is requested. Luca might I think. The call of av_picture_crop() at line 733 is used to identify the region of the final picture into which the resampling operation must write its output. Luca