mirror of https://github.com/FreeRDP/FreeRDP
codec: minor change
This commit is contained in:
parent
8e2dac6813
commit
06e7db4e6b
|
@ -143,4 +143,12 @@ jpeg_decompress(uint8 * input, uint8 * output, int width, int height, int size,
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
boolean
|
||||||
|
jpeg_decompress(uint8 * input, uint8 * output, int width, int height, int size, int bpp)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -371,6 +371,7 @@ int freerdp_parse_args(rdpSettings* settings, int argc, char** argv,
|
||||||
{
|
{
|
||||||
printf("setting codec nsc\n");
|
printf("setting codec nsc\n");
|
||||||
settings->v3_codec_id = CODEC_ID_NSCODEC;
|
settings->v3_codec_id = CODEC_ID_NSCODEC;
|
||||||
|
settings->ns_codec = true;
|
||||||
}
|
}
|
||||||
#ifdef WITH_JPEG
|
#ifdef WITH_JPEG
|
||||||
else if (strcmp("jpeg", argv[index]) == 0)
|
else if (strcmp("jpeg", argv[index]) == 0)
|
||||||
|
|
Loading…
Reference in New Issue