mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-05 12:23:18 +03:00
Removed condition that is always true
This commit is contained in:
parent
7e15c54cad
commit
b1ed311a3a
|
@ -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