]> code.delx.au - pulseaudio/commit
protocol-native: Fix a crash
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Tue, 4 Feb 2014 19:28:44 +0000 (21:28 +0200)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Tue, 4 Feb 2014 19:32:16 +0000 (21:32 +0200)
commit7297feb50bde72f8c148899a3fbec0c9cd13a8e4
treeebaa9162da7d54613780c64ae7b77d04f543a764
parenta64eead8767932141b2ee54a6c689d7c45409705
protocol-native: Fix a crash

Without this check pa_source_output_set_volume() crashes if
so->volume_writable is false. The same check already exists for sink
inputs.

BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=74529
src/pulsecore/protocol-native.c