mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-01-11 18:10:16 +00:00
common/lz.c: improve lz_encode comment
This commit is contained in:
parent
8543d04cd2
commit
be6392a5ad
@ -521,8 +521,9 @@ int lz_encode(LzContext *lz, LzImageType type, int width, int height, int top_do
|
||||
}
|
||||
} else {
|
||||
if (encoder->stride != width * RGB_BYTES_PER_PIXEL[encoder->type]) {
|
||||
encoder->usr->error(encoder->usr, "stride != width*bytes_per_pixel (rgb) %d %d %d\n",
|
||||
encoder->stride, width, RGB_BYTES_PER_PIXEL[encoder->type]);
|
||||
encoder->usr->error(encoder->usr, "stride != width*bytes_per_pixel (rgb) %d != %d * %d (%d)\n",
|
||||
encoder->stride, width, RGB_BYTES_PER_PIXEL[encoder->type],
|
||||
encoder->type);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user