From c593355e42e78975ef1d61dda77f79a681c237dc Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Fri, 26 Aug 2011 13:06:43 +0000 Subject: [PATCH] fixed declaration of imencode to make it usable in Python etc. --- modules/highgui/include/opencv2/highgui/highgui.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/highgui/include/opencv2/highgui/highgui.hpp b/modules/highgui/include/opencv2/highgui/highgui.hpp index 6468568c9a..b6dbb3c01e 100644 --- a/modules/highgui/include/opencv2/highgui/highgui.hpp +++ b/modules/highgui/include/opencv2/highgui/highgui.hpp @@ -156,7 +156,7 @@ CV_EXPORTS_W bool imwrite( const string& filename, InputArray img, const vector& params=vector()); CV_EXPORTS_W Mat imdecode( InputArray buf, int flags ); CV_EXPORTS_W bool imencode( const string& ext, InputArray img, - vector& buf, + CV_OUT vector& buf, const vector& params=vector()); CV_EXPORTS_W int waitKey(int delay=0); -- GitLab