mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 12:29:56 +00:00
- Sync mciavi32, mcicda with Wine head
svn path=/trunk/; revision=40400
This commit is contained in:
parent
4147173032
commit
e7588d18a9
2 changed files with 3 additions and 3 deletions
|
@ -328,7 +328,7 @@ BOOL MCIAVI_GetInfo(WINE_MCIAVI* wma)
|
||||||
WARN("ignoring another video stream\n");
|
WARN("ignoring another video stream\n");
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wma->ash_audio = strh;
|
wma->ash_video = strh;
|
||||||
|
|
||||||
if (!MCIAVI_GetInfoVideo(wma, &mmckList, &mmckStream))
|
if (!MCIAVI_GetInfoVideo(wma, &mmckList, &mmckStream))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@ -342,7 +342,7 @@ BOOL MCIAVI_GetInfo(WINE_MCIAVI* wma)
|
||||||
WARN("ignoring another audio stream\n");
|
WARN("ignoring another audio stream\n");
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wma->ash_video = strh;
|
wma->ash_audio = strh;
|
||||||
|
|
||||||
if (!MCIAVI_GetInfoAudio(wma, &mmckList, &mmckStream))
|
if (!MCIAVI_GetInfoAudio(wma, &mmckList, &mmckStream))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
|
@ -464,7 +464,7 @@ static DWORD MCICDA_Open(UINT wDevID, DWORD dwFlags, LPMCI_OPEN_PARMSW lpOpenPar
|
||||||
/* now, open the handle */
|
/* now, open the handle */
|
||||||
root[0] = root[1] = '\\'; root[2] = '.'; root[3] = '\\'; root[4] = drive; root[5] = ':'; root[6] = '\0';
|
root[0] = root[1] = '\\'; root[2] = '.'; root[3] = '\\'; root[4] = drive; root[5] = ':'; root[6] = '\0';
|
||||||
wmcda->handle = CreateFileW(root, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, 0);
|
wmcda->handle = CreateFileW(root, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, 0);
|
||||||
if (wmcda->handle != 0)
|
if (wmcda->handle != INVALID_HANDLE_VALUE)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
the_error:
|
the_error:
|
||||||
|
|
Loading…
Reference in a new issue