#1042571 glasscoder: Crash when HLS streaming a WAV file

Package:
glasscoder
Source:
glasscoder
Description:
minimalist audio encoder for generating live streams
Submitter:
Pelle
Date:
2023-07-30 14:15:04 UTC
Severity:
normal
#1042571#5
Date:
2023-07-30 14:11:02 UTC
From:
To:
Dear glasscoder maintainer,

I use SoX to generate a WAV file. When I try to stream it over HLS with Glasscoder, it crashes.

```
$ sox -n out.wav synth 60
$ glasscoder --server-url="http://localhost:8080" --server-type=HLS --audio-device=FILE --file-name=out.wav
glasscoder: using working directory "/tmp/glasscoder-ZiM5kw"
ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h, line 579
Aborted (core dumped)
```