scanbuild fixes

This commit is contained in:
akallabeth
2022-04-28 08:00:39 +02:00
committed by akallabeth
parent 1dcc5a180a
commit ec699f6c75
27 changed files with 394 additions and 244 deletions

View File

@@ -901,7 +901,10 @@ static UINT video_VideoData(VideoClientContext* context, const TSMM_VIDEO_DATA*
frame->surfaceData, surface->format, surface->scanline,
surface->alignedWidth, surface->alignedHeight, &rect, 1);
if (status < 0)
{
VideoFrame_free(&frame);
return CHANNEL_RC_OK;
}
InterlockedIncrement(&presentation->refCounter);