92630f67c6
Our animation code not only relies on the animation being loaded (which we handle), but also on having at least one frame - otherwise the computation of the next frame index will turn up NaN through division by zero. Guard against this case by treating empty animations as not loaded. https://bugzilla.gnome.org/show_bug.cgi?id=774805