Commit 3454bdc0 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

ntdll: Always set a valid SUB_Q_HEADER AudioStatus for CD-ROMs.

parent fd05f541
...@@ -924,7 +924,7 @@ static NTSTATUS CDROM_ReadQChannel(int dev, int fd, const CDROM_SUB_Q_DATA_FORMA ...@@ -924,7 +924,7 @@ static NTSTATUS CDROM_ReadQChannel(int dev, int fd, const CDROM_SUB_Q_DATA_FORMA
break; break;
default: default:
TRACE("status=%02X !\n", sc.cdsc_audiostatus); TRACE("status=%02X !\n", sc.cdsc_audiostatus);
break; hdr->AudioStatus = AUDIO_STATUS_NO_STATUS;
} }
switch (fmt->Format) switch (fmt->Format)
{ {
...@@ -1035,6 +1035,7 @@ static NTSTATUS CDROM_ReadQChannel(int dev, int fd, const CDROM_SUB_Q_DATA_FORMA ...@@ -1035,6 +1035,7 @@ static NTSTATUS CDROM_ReadQChannel(int dev, int fd, const CDROM_SUB_Q_DATA_FORMA
break; break;
default: default:
TRACE("status=%02X !\n", sc.header.audio_status); TRACE("status=%02X !\n", sc.header.audio_status);
hdr->AudioStatus = AUDIO_STATUS_NO_STATUS;
} }
switch (fmt->Format) switch (fmt->Format)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment