IMAGE: Remove unnecessary temporary surface in Indeo4/5
This commit is contained in:
parent
085ec30b49
commit
7dd2c0342d
1 changed files with 1 additions and 2 deletions
|
@ -578,8 +578,7 @@ int IndeoDecoderBase::decodeIndeoFrame() {
|
|||
outputPlane(&_ctx._planes[1], frame->_data[2], frame->_linesize[2]);
|
||||
|
||||
// Merge the planes into the final surface
|
||||
Graphics::Surface s = _surface->getSubArea(Common::Rect(0, 0, _surface->w, _surface->h));
|
||||
YUVToRGBMan.convert410(&s, Graphics::YUVToRGBManager::kScaleITU,
|
||||
YUVToRGBMan.convert410(_surface, Graphics::YUVToRGBManager::kScaleITU,
|
||||
frame->_data[0], frame->_data[1], frame->_data[2], frame->_width, frame->_height,
|
||||
frame->_width, frame->_width);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue