The cropdetect filter is prone to reporting negative-sized rectangles, particularly for dark images. This patch adjusts the limits of the filter loops, preventing the left/right and top/bottom offsets from crossing each other, so that such a zero-sized rectangle is reported instead of a negative one. This improves the reliability of using cropdetect to find a maximum bounding rectangle.
0001-Prevent-vf_cropdetect-from-returning-negative-rectan.patch
Description: Binary data
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel