From 463b227d81e43481e7353a6ed24a306b9dec194a Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sat, 6 Jul 2013 20:50:31 -0400 Subject: [PATCH] Fixed logic bug (thanks, Lionel!). --- test/simplesdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/simplesdl.c b/test/simplesdl.c index 822f8a0..b2759e7 100644 --- a/test/simplesdl.c +++ b/test/simplesdl.c @@ -211,7 +211,7 @@ static void playfile(const char *fname) 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");