Skip to content

Commit 477f457

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5945104 commit 477f457

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/_avif.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -709,25 +709,25 @@ _decoder_get_info(AvifDecoderObject *self) {
709709
if (image->xmp.size) {
710710
xmp = PyBytes_FromStringAndSize((const char *)image->xmp.data, image->xmp.size);
711711
if (!xmp) {
712-
return NULL;
712+
return NULL;
713713
}
714714
}
715715

716716
if (image->exif.size) {
717717
exif =
718718
PyBytes_FromStringAndSize((const char *)image->exif.data, image->exif.size);
719719
if (!exif) {
720-
Py_XDECREF(xmp);
721-
return NULL;
720+
Py_XDECREF(xmp);
721+
return NULL;
722722
}
723723
}
724724

725725
if (image->icc.size) {
726726
icc = PyBytes_FromStringAndSize((const char *)image->icc.data, image->icc.size);
727727
if (!icc) {
728-
Py_XDECREF(xmp);
729-
Py_XDECREF(exif);
730-
return NULL;
728+
Py_XDECREF(xmp);
729+
Py_XDECREF(exif);
730+
return NULL;
731731
}
732732
}
733733

0 commit comments

Comments
 (0)