codec: minor change

This commit is contained in:
Jay Sorg 2012-07-26 11:15:41 -07:00
parent 8e2dac6813
commit 06e7db4e6b
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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)