Fixed logic bug.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 28 Jan 2013 18:46:03 -0500
changeset 53 6be6aecf660e
parent 52 4e8c041229a3
child 54 fcda007df25d
Fixed logic bug.
test/sdltheoraplay.c
--- a/test/sdltheoraplay.c	Mon Jan 28 18:41:48 2013 -0500
+++ b/test/sdltheoraplay.c	Mon Jan 28 18:46:03 2013 -0500
@@ -614,7 +614,7 @@
             if (!video)  // do nothing; we're far behind and out of options.
             {
                 static int warned = 0;
-                if (warned)
+                if (!warned)
                 {
                     warned = 1;
                     fprintf(stderr, "WARNING: Playback can't keep up!\n");