OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3eaee64
)
Fix build when BT_AV_SINK is enabled.
author
Rakesh Iyer
<rni@google.com>
Tue, 10 Mar 2015 22:07:43 +0000
(15:07 -0700)
committer
Rakesh Iyer
<rni@google.com>
Tue, 10 Mar 2015 22:07:43 +0000
(15:07 -0700)
Change-Id: I3662ad190e5af86d2765321d9df8aca1e6c066b8
bta/av/bta_av_api.c
patch
|
blob
|
history
diff --git
a/bta/av/bta_av_api.c
b/bta/av/bta_av_api.c
index
829c560
..
154855a
100644
(file)
--- a/
bta/av/bta_av_api.c
+++ b/
bta/av/bta_av_api.c
@@
-257,6
+257,7
@@
void BTA_AvStart(void)
void BTA_AvEnable_Sink(int enable)
{
#if (BTA_AV_SINK_INCLUDED == TRUE)
+ BT_HDR *p_buf;
if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL)
{
p_buf->event = BTA_AV_API_SINK_ENABLE_EVT;