mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
directsoundsink: fix access to invalid pointer in set_volume
This commit is contained in:
parent
f72a55319d
commit
c38fa466c3
1 changed files with 1 additions and 0 deletions
|
@ -751,6 +751,7 @@ gst_directsound_probe_supported_formats (GstDirectSoundSink * dsoundsink,
|
|||
} else {
|
||||
GST_INFO_OBJECT (dsoundsink, "AC3 passthrough supported");
|
||||
hRes = IDirectSoundBuffer_Release (dsoundsink->pDSBSecondary);
|
||||
dsoundsink->pDSBSecondary = NULL;
|
||||
if (FAILED (hRes)) {
|
||||
GST_DEBUG_OBJECT (dsoundsink,
|
||||
"(IDirectSoundBuffer_Release returned: %s)\n",
|
||||
|
|
Loading…
Reference in a new issue