decoder: fix data race
commit46f73728a597df445d25b4535cd7ddf55ed9fb2c
authorThomas Guillem <thomas@gllm.fr>
Wed, 20 Jan 2021 10:59:42 +0000 (20 11:59 +0100)
committerThomas Guillem <thomas@gllm.fr>
Fri, 22 Jan 2021 08:55:03 +0000 (22 09:55 +0100)
tree8b5c37adba7c98085749217618e63e88c0a71ac9
parent18fd6e80525c39831f6818f480e747b672c02ac7
decoder: fix data race

owner->fmt need to be read with owner->lock held or from the module
thread.
src/input/decoder.c