Merge pull request #2941 from metalefty/format

Apply astyle 3.4 code formatter
This commit is contained in:
metalefty 2024-02-08 22:02:30 +09:00 committed by GitHub
commit 494376438c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -644,10 +644,10 @@ gfx_wiretosurface2(struct xrdp_encoder *self,
if (self->codec_handle_prfx_gfx[mon_index] == NULL) if (self->codec_handle_prfx_gfx[mon_index] == NULL)
{ {
self->codec_handle_prfx_gfx[mon_index] = rfxcodec_encode_create( self->codec_handle_prfx_gfx[mon_index] = rfxcodec_encode_create(
width, width,
height, height,
RFX_FORMAT_YUV, RFX_FORMAT_YUV,
RFX_FLAGS_RLGR1 | RFX_FLAGS_PRO1); RFX_FLAGS_RLGR1 | RFX_FLAGS_PRO1);
if (self->codec_handle_prfx_gfx[mon_index] == NULL) if (self->codec_handle_prfx_gfx[mon_index] == NULL)
{ {
return NULL; return NULL;