From 15fa0dc1e62b15d096ef7d7f3a5d3c1c6b7d2cae Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 6 Sep 2003 05:38:08 +0000 Subject: [PATCH] Parse DivX Pro versions, though this is less important now that we use FFMpeg. It's still useful, as we can fall back on DShow, but eventually we should remove the fallback for MPEG4 so we can remove this (so we don't nag people to upgrade when they don't need to). --- stepmania/src/archutils/Win32/DebugInfoHunt.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/archutils/Win32/DebugInfoHunt.cpp b/stepmania/src/archutils/Win32/DebugInfoHunt.cpp index 2b5c3c8810..dd4ec1716c 100644 --- a/stepmania/src/archutils/Win32/DebugInfoHunt.cpp +++ b/stepmania/src/archutils/Win32/DebugInfoHunt.cpp @@ -151,7 +151,8 @@ static void CheckCodecVersion( CString codec, CString desc ) Regex GetDivXVersion; int major, minor, rev; - if( sscanf( desc, "DivX %i.%i.%i", &major, &minor, &rev ) != 3 ) + if( sscanf( desc, "DivX %i.%i.%i", &major, &minor, &rev ) != 3 && + sscanf( desc, "DivX Pro %i.%i.%i", &major, &minor, &rev ) != 3 ) { LOG->Warn( "Couldn't parse DivX version \"%s\"", desc.c_str() ); return;