OSDN Git Service

android/a2dp: Fix IPC response length calculation
authorAndrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Tue, 14 Jan 2014 16:16:18 +0000 (17:16 +0100)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 15 Jan 2014 09:10:13 +0000 (11:10 +0200)
commit63ffbe33a5545eea9a007987d86ef7844daf141d
tree61f681875ee0d4b538809fdbeebd79a16c359d2f
parente41b156caec627682d8a09fa2a5eccedbdc4fed1
android/a2dp: Fix IPC response length calculation

struct audio_rsp_open_stream has only zero-length array member thus its
size equals to 0. We need to explicitly specify size of array element
type here.
android/a2dp.c