mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
libfreerdp-codec: update ncrush with debug output
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -30,7 +30,7 @@ int test_NCrushCompressBells()
|
||||
|
||||
status = ncrush_compress(ncrush, pSrcData, SrcSize, OutputBuffer, &DstSize, &Flags);
|
||||
|
||||
printf("Flags: 0x%04X DstSize: %d\n", Flags, DstSize);
|
||||
printf("status: %d Flags: 0x%04X DstSize: %d\n", status, Flags, DstSize);
|
||||
|
||||
if (DstSize != expectedSize)
|
||||
{
|
||||
@@ -96,8 +96,13 @@ int test_NCrushDecompressBells()
|
||||
|
||||
int TestFreeRDPCodecNCrush(int argc, char* argv[])
|
||||
{
|
||||
test_NCrushCompressBells();
|
||||
//test_NCrushDecompressBells();
|
||||
#if 1
|
||||
if (test_NCrushCompressBells() < 0)
|
||||
return -1;
|
||||
#else
|
||||
if (test_NCrushDecompressBells() < 0)
|
||||
return -1;
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user