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:
|
||||
if (&rgb) {
|
||||
avifRGBImageFreePixels(&rgb);
|
||||
}
|
||||
avifRGBImageFreePixels(&rgb);
|
||||
if (!self->first_frame) {
|
||||
avifImageDestroy(frame);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user