mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-06-03 17:08:08 -04:00
avif: fix jumpToImage
This commit is contained in:
parent
8732fc8487
commit
64cfe52bee
@ -901,7 +901,8 @@ bool QAVIFHandler::jumpToImage(int imageNumber)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (imageNumber == m_decoder->imageCount) { // we are here already
|
if (imageNumber == m_decoder->imageIndex) { // we are here already
|
||||||
|
m_must_jump_to_next_image = false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user