From 4f44d6591f38ed5f9ecdea386f79e29573d02857 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sun, 2 Oct 2005 04:55:27 +0000 Subject: [PATCH] FindPixelFormat returns PixelFormat_INVALID, not NUM_PixelFormat --- stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp b/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp index 27beeb369c..802e51c27f 100644 --- a/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp +++ b/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp @@ -128,7 +128,7 @@ static int FindCompatibleAVFormat( PixelFormat &pixfmt, bool HighColor ) true /* realtime */ ); - if( pixfmt == NUM_PixelFormat ) + if( pixfmt == PixelFormat_INVALID ) continue; return i;