diff --git a/dlls/dmime/wavetrack.c b/dlls/dmime/wavetrack.c
index 79169a2a6fab3fa70b88673cbe0468521905aede..fcf57c1148d86871b13d4117cbb3a79ed4dd3a8d 100644
--- a/dlls/dmime/wavetrack.c
+++ b/dlls/dmime/wavetrack.c
@@ -273,6 +273,8 @@ static HRESULT WINAPI wave_track_SetParam(IDirectMusicTrack8 *iface, REFGUID typ
                 }
             }
         }
+
+        return hr;
     }
     if (IsEqualGUID(type, &GUID_Enable_Auto_Download)) {
         FIXME("GUID_Enable_Auto_Download not handled yet\n");