Export avifImageExtractExifOrientationToIrotImir
Declare avifImageExtractExifOrientationToIrotImir() with AVIF_API to
export the function from the shared library.
Fix https://github.com/AOMediaCodec/libavif/issues/1125.
diff --git a/include/avif/avif.h b/include/avif/avif.h
index eead360..25f0f29 100644
--- a/include/avif/avif.h
+++ b/include/avif/avif.h
@@ -491,7 +491,7 @@
// Attempts to parse the image->exif payload for Exif orientation and sets image->transformFlags, image->irot and
// image->imir on success. Returns AVIF_RESULT_INVALID_EXIF_PAYLOAD on failure.
-avifResult avifImageExtractExifOrientationToIrotImir(avifImage * image);
+AVIF_API avifResult avifImageExtractExifOrientationToIrotImir(avifImage * image);
AVIF_API avifResult avifImageAllocatePlanes(avifImage * image, avifPlanesFlags planes); // Ignores any pre-existing planes
AVIF_API void avifImageFreePlanes(avifImage * image, avifPlanesFlags planes); // Ignores already-freed planes