diff --git a/src/modules/video_render/main/source/windows/video_render_directdraw.cc b/src/modules/video_render/main/source/windows/video_render_directdraw.cc index 854b58efe..034f7106b 100644 --- a/src/modules/video_render/main/source/windows/video_render_directdraw.cc +++ b/src/modules/video_render/main/source/windows/video_render_directdraw.cc @@ -1020,7 +1020,7 @@ int DirectDrawChannel::DeliverFrame(unsigned char* buffer, int bufferSize, } case kARGB: ConvertFromI420(buffer, ddsd.lPitch, kARGB, 0, - _width, _height, ptrTempBuffer); + _width, _height, ptr); break; case kARGB4444: ConvertI420ToARGB4444(buffer, ptr, _width, _height,