Commit e7e30875 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

PulseAudio: add an assertion (refs #5825)

parent 72549b91
......@@ -519,6 +519,8 @@ static void Play(audio_output_t *aout, block_t *block)
aout_sys_t *sys = aout->sys;
pa_stream *s = sys->stream;
assert (sys->paused == VLC_TS_INVALID);
const void *ptr = data_convert(&block);
if (unlikely(ptr == NULL))
return;
......
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