mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-30 09:53:39 +03:00
Removed condition that is always true (#8862)
This commit is contained in:
parent
7e15c54cad
commit
2d452c82e5
|
@ -568,9 +568,7 @@ _encoder_add(AvifEncoderObject *self, PyObject *args) {
|
||||||
}
|
}
|
||||||
|
|
||||||
end:
|
end:
|
||||||
if (&rgb) {
|
avifRGBImageFreePixels(&rgb);
|
||||||
avifRGBImageFreePixels(&rgb);
|
|
||||||
}
|
|
||||||
if (!self->first_frame) {
|
if (!self->first_frame) {
|
||||||
avifImageDestroy(frame);
|
avifImageDestroy(frame);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user