diff --git a/src/audio/playback/jack.c b/src/audio/playback/jack.c index 9685201ea..9b2d4be79 100644 --- a/src/audio/playback/jack.c +++ b/src/audio/playback/jack.c @@ -247,7 +247,7 @@ static void * audio_play_jack_init(const char *cfg) static bool audio_play_jack_query_format(struct state_jack_playback *s, void *data, size_t *len) { struct audio_desc desc; - if (*len <= sizeof desc) { + if (*len < sizeof desc) { return false; } else { memcpy(&desc, data, sizeof desc);