Running this layout test with this command run-webkit-tests --debug fast/images/animated-image-mp4-crash.html --repeat=100 will timeout. The image "two-samples-with-same-pts.mp4" is cached by the WebProcess process and is used by the same test multiple times. The repetition count of this image is 1. After the first loop, the animation stops and no more frames can be decoded for this image.
<rdar://problem/121035201>
Pull request: https://github.com/WebKit/WebKit/pull/22810
Committed 273669@main (b89b5796147b): <https://commits.webkit.org/273669@main> Reviewed commits have been landed. Closing PR #22810 and removing active labels.