mirror of
https://github.com/opencv/opencv.git
synced 2026-10-02 04:02:40 +03:00
tapi: datarace fixup for cvtColor
This commit is contained in:
1 parent
9bcccb028b
commit
4eef486afe
1 file changed
+1
@@ -8425,6 +8425,7 @@ void cv::cvtColor( InputArray _src, OutputArray _dst, int code, int dcn )
|
||||
CV_Assert( dcn == 1 );
|
||||
CV_Assert( scn == 2 && depth == CV_8U );
|
||||
|
||||
src.release(); // T-API datarace fixup
|
||||
extractChannel(_src, _dst, code == CV_YUV2GRAY_UYVY ? 1 : 0);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user