Ooops! Mistook the logic for using result from liq_quantize_image()

This commit is contained in:
dolphin6k 2020-08-17 17:29:00 +09:00
parent bfaca2c2cf
commit a2822142e6

View file

@ -25712,7 +25712,7 @@ static int export_gif(int *selected, int num_selected, char *dirname, char **d_n
done = (qtiz_status != LIQ_OK);
#else
quantization_result = liq_quantize_image(liq_handle, input_image);
done = (quantization_result != NULL);
done = (quantization_result == NULL);
#endif
if (!done) {
// Use libimagequant to make new image pixels from the palette