From 1cf96096a40e01b873d63a26200297ca170777ee Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 28 Jan 2013 18:46:03 -0500 Subject: [PATCH] Fixed logic bug. --- test/sdltheoraplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sdltheoraplay.c b/test/sdltheoraplay.c index 127e87a..8d05e60 100644 --- a/test/sdltheoraplay.c +++ b/test/sdltheoraplay.c @@ -614,7 +614,7 @@ static void playfile(const char *fname, const THEORAPLAY_VideoFormat vidfmt, 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");