diff --git a/src/imageformats/avif.cpp b/src/imageformats/avif.cpp index c4f7a0f..24aec84 100644 --- a/src/imageformats/avif.cpp +++ b/src/imageformats/avif.cpp @@ -1024,7 +1024,8 @@ int QAVIFHandler::loopCount() const return 0; } - return 1; + // Endless loop to work around https://github.com/AOMediaCodec/libavif/issues/347 + return -1; } QPointF QAVIFHandler::CompatibleChromacity(qreal chrX, qreal chrY)