Ooops! Mistook the logic for using result from liq_quantize_image()
This commit is contained in:
parent
bfaca2c2cf
commit
a2822142e6
1 changed files with 1 additions and 1 deletions
|
|
@ -25712,7 +25712,7 @@ static int export_gif(int *selected, int num_selected, char *dirname, char **d_n
|
||||||
done = (qtiz_status != LIQ_OK);
|
done = (qtiz_status != LIQ_OK);
|
||||||
#else
|
#else
|
||||||
quantization_result = liq_quantize_image(liq_handle, input_image);
|
quantization_result = liq_quantize_image(liq_handle, input_image);
|
||||||
done = (quantization_result != NULL);
|
done = (quantization_result == NULL);
|
||||||
#endif
|
#endif
|
||||||
if (!done) {
|
if (!done) {
|
||||||
// Use libimagequant to make new image pixels from the palette
|
// Use libimagequant to make new image pixels from the palette
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue