Boring changes - highgui.

This commit is contained in:
Roman Donchenko
2013-08-13 16:47:18 +04:00
parent 254d4ae429
commit beeb932d22
13 changed files with 49 additions and 49 deletions

View File

@@ -90,7 +90,7 @@ bool WebPDecoder::checkSignature(const String & signature) const
ImageDecoder WebPDecoder::newDecoder() const
{
return new WebPDecoder;
return makePtr<WebPDecoder>();
}
bool WebPDecoder::readHeader()
@@ -201,7 +201,7 @@ WebPEncoder::~WebPEncoder() { }
ImageEncoder WebPEncoder::newEncoder() const
{
return new WebPEncoder();
return makePtr<WebPEncoder>();
}
bool WebPEncoder::write(const Mat& img, const std::vector<int>& params)