xfClipboard* xf_clipboard_new(xfContext* xfc)
{
- int i;
- int n;
+ int i, n = 0;
rdpChannels* channels;
xfClipboard* clipboard;
"Warning: Using clipboard redirection without XFIXES extension is strongly discouraged!");
#endif
- n = 0;
-
clipboard->clientFormats[n].atom = XInternAtom(xfc->display, "_FREERDP_RAW", False);
clipboard->clientFormats[n].formatId = CF_RAW;
n++;
int exponent_length;
int error = 0;
+ if (!cert || !info)
+ return FALSE;
+
+ memset(info, 0, sizeof(rdpCertInfo));
+
s = Stream_New(cert->data, cert->length);
if (!s)
BYTE* actual1;
BYTE* expected;
int margin = 1;
- INT16* pYCbCr[3];
+ INT16* pYCbCr[3] = { NULL, NULL, NULL };
const UINT32 srcStride = roi.width * 2;
const UINT32 dstStride = roi.width * GetBytesPerPixel(format);
const UINT32 srcSize = srcStride * roi.height;