audiomixer: fix calls to g_variant_lookup() 98/26398/1 koi 11.0.3 11.0.4 11.0.5 koi/11.0.3 koi/11.0.4 koi/11.0.5 koi_11.0.3 koi_11.0.4 koi_11.0.5
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Thu, 24 Jun 2021 15:14:11 +0000 (18:14 +0300)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 28 Jun 2021 18:27:47 +0000 (18:27 +0000)
commitadcee8121ca25a14ee4cc50d15211b075b769ab8
tree48ba6e4100c42db942c91ecec77c116cdbb665f7
parent5b1a74b1ea6cfc49e20300bdf5b3806bcb41343d
audiomixer: fix calls to g_variant_lookup()

* actually get values instead of storing them into intermediate
  pointers on the stack
* fix crash on 32-bit architectures
* no need to use NULL sentinel

Bug-AGL: SPEC-3976
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Change-Id: I88647ae21405fe3bd7e57c82d3e953be2767c0c9
(cherry picked from commit dadd3d771d5b27a455afffed8437c0a2e6db26b2)
binding/audiomixer.c