From 93209da176d8782f78a7fb8da4e58ac576fcb7a1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 17 Nov 2016 22:36:42 +0100 Subject: [PATCH] decoder/API: lock decoder in decoder_get_command() --- src/decoder/DecoderAPI.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decoder/DecoderAPI.cxx b/src/decoder/DecoderAPI.cxx index 62b2065bf..6bdaddb02 100644 --- a/src/decoder/DecoderAPI.cxx +++ b/src/decoder/DecoderAPI.cxx @@ -164,7 +164,7 @@ decoder_lock_get_virtual_command(Decoder &decoder) DecoderCommand decoder_get_command(Decoder &decoder) { - return decoder_get_virtual_command(decoder); + return decoder_lock_get_virtual_command(decoder); } void