summaryrefslogtreecommitdiffstats
path: root/tests/auto/qmovie/animations
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2010-12-17 11:46:44 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2010-12-22 13:47:40 (GMT)
commitce432e1799111cbed492e46bb62d8dfb40585a10 (patch)
tree0175c56ec0fcd84a07e892b8deb6b52948493f48 /tests/auto/qmovie/animations
parenta562fd2d201e3b618ed99a316275f20385cc5c25 (diff)
downloadQt-ce432e1799111cbed492e46bb62d8dfb40585a10.zip
Qt-ce432e1799111cbed492e46bb62d8dfb40585a10.tar.gz
Qt-ce432e1799111cbed492e46bb62d8dfb40585a10.tar.bz2
Prevented infinite loop in QMoviePrivate::next().
If we're unable to read the first frame, we shouldn't return an end marker, as that will cause QMoviePrivate::next() to recurse indefinitely when the playCounter is set to -1 (infinite). Reviewed-by: Olivier Goffart
Diffstat (limited to 'tests/auto/qmovie/animations')
-rw-r--r--tests/auto/qmovie/animations/corrupt.gifbin0 -> 847 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/auto/qmovie/animations/corrupt.gif b/tests/auto/qmovie/animations/corrupt.gif
new file mode 100644
index 0000000..c1545eb
--- /dev/null
+++ b/tests/auto/qmovie/animations/corrupt.gif
Binary files differ