mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-01 10:23:34 +03:00
Merge branch 'master' into icns+jp2k
This commit is contained in:
commit
c82c6a064b
|
@ -327,7 +327,7 @@ j2k_encode_entry(Imaging im, ImagingCodecState state,
|
||||||
tile_height = im->ysize;
|
tile_height = im->ysize;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (PySequence_Check(context->quality_layers)) {
|
if (context->quality_layers && PySequence_Check(context->quality_layers)) {
|
||||||
Py_ssize_t len = PySequence_Length(context->quality_layers);
|
Py_ssize_t len = PySequence_Length(context->quality_layers);
|
||||||
Py_ssize_t n;
|
Py_ssize_t n;
|
||||||
float *pq;
|
float *pq;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user