--- dvbhddevice/dvbhdffdevice.c.orig 2018-04-17 13:57:26.871268867 +0200
+++ dvbhddevice/dvbhdffdevice.c 2018-04-17 13:58:45.698264299 +0200
@@ -461,7 +461,8 @@
const tTrackId *TrackId = GetTrack(Type);
if (TrackId && TrackId->id) {
int streamType = 0;
- cChannel * channel = Channels.GetByNumber(CurrentChannel());
+ LOCK_CHANNELS_READ;
+ const cChannel * channel = Channels->GetByNumber(CurrentChannel());
if (channel) {
if (IS_AUDIO_TRACK(Type))
streamType = channel->Atype(Type - ttAudioFirst);