Dmitry Timoshkov : msvfw32: Do not overwrite fccType in the codec
enumeration proc.
Alexandre Julliard
julliard at wine.codeweavers.com
Sat Feb 4 11:14:56 CST 2006
Module: wine
Branch: refs/heads/master
Commit: 3f2e9681a60f87a5489bc5d5595f9a6496b5e013
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=3f2e9681a60f87a5489bc5d5595f9a6496b5e013
Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date: Sat Feb 4 16:58:49 2006 +0100
msvfw32: Do not overwrite fccType in the codec enumeration proc.
---
dlls/msvideo/msvideo_main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msvideo/msvideo_main.c b/dlls/msvideo/msvideo_main.c
index 0479210..cd638c0 100644
--- a/dlls/msvideo/msvideo_main.c
+++ b/dlls/msvideo/msvideo_main.c
@@ -181,7 +181,6 @@ static BOOL ICInfo_enum_handler(const ch
if ((lpicinfo->fccHandler != nr) && (lpicinfo->fccHandler != fccHandler))
return FALSE;
- lpicinfo->fccType = mmioStringToFOURCCA(drv, 0);
lpicinfo->fccHandler = fccHandler;
lpicinfo->dwFlags = 0;
lpicinfo->dwVersion = 0;
@@ -209,6 +208,7 @@ BOOL VFWAPI ICInfo( DWORD fccType, DWORD
TRACE("(%s,%s/%08lx,%p)\n",
wine_dbgstr_fcc(fccType), wine_dbgstr_fcc(fccHandler), fccHandler, lpicinfo);
+ lpicinfo->fccType = fccType;
lpicinfo->fccHandler = fccHandler;
return enum_drivers(fccType, ICInfo_enum_handler, lpicinfo);
}
More information about the wine-cvs
mailing list