TIFF loader: Allocate large enough buffer when (bpp * ncn) > 8.
Conflicts: modules/highgui/src/grfmt_tiff.cpp floodfill return value removed
This commit is contained in:
@@ -487,7 +487,6 @@ int cv::floodFill( InputOutputArray _image, InputOutputArray _mask,
|
||||
if ( (cn != 1) && (cn != 3) )
|
||||
{
|
||||
CV_Error( CV_StsBadArg, "Number of channels in input image must be 1 or 3" );
|
||||
return;
|
||||
}
|
||||
|
||||
if( connectivity == 0 )
|
||||
|
Reference in New Issue
Block a user