summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Freyermuth <o.freyermuth@googlemail.com>2021-11-16 13:13:44 +0100
committersfan5 <sfan5@live.de>2021-11-16 22:24:14 +0100
commit3d9c0eae9e4d42494b9435ad3cf5c31217e262ad (patch)
tree0c3d4a35f975aa1f1dd9be04bf1c67d96fadf8f0
parente24a87efaaa8ed631f704ab8f192e19a2701ca7d (diff)
downloadmpv-3d9c0eae9e4d42494b9435ad3cf5c31217e262ad.tar.bz2
mpv-3d9c0eae9e4d42494b9435ad3cf5c31217e262ad.tar.xz
stream_dvb: add missing mutex unlock
This deadlock was not triggered in real use since configuration validity does not change at runtime. closes #9459
-rw-r--r--stream/stream_dvb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/stream_dvb.c b/stream/stream_dvb.c
index 8fddf3abf9..a9fb12cb5e 100644
--- a/stream/stream_dvb.c
+++ b/stream/stream_dvb.c
@@ -1045,6 +1045,7 @@ static int dvb_open(stream_t *stream)
}
if (!dvb_parse_path(stream)) {
+ pthread_mutex_unlock(&global_dvb_state_lock);
goto err_out;
}