OSDN Git Service
(root)
/
android-x86
/
frameworks-av.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd72d22
)
Fix compile warning / incomplete initialization
author
Glenn Kasten
<gkasten@google.com>
Thu, 19 Dec 2013 17:09:33 +0000
(09:09 -0800)
committer
Glenn Kasten
<gkasten@google.com>
Fri, 20 Dec 2013 00:26:26 +0000
(16:26 -0800)
Change-Id: Ib4accf99be800988e081f96222e1ee73538221ec
media/libmedia/mediaplayer.cpp
patch
|
blob
|
history
diff --git
a/media/libmedia/mediaplayer.cpp
b/media/libmedia/mediaplayer.cpp
index
0f6d897
..
7a6f31d
100644
(file)
--- a/
media/libmedia/mediaplayer.cpp
+++ b/
media/libmedia/mediaplayer.cpp
@@
-654,7
+654,7
@@
status_t MediaPlayer::setRetransmitEndpoint(const char* addrString,
return BAD_VALUE;
}
- memset(&mRetransmitEndpoint, 0, sizeof(
&
mRetransmitEndpoint));
+ memset(&mRetransmitEndpoint, 0, sizeof(mRetransmitEndpoint));
mRetransmitEndpoint.sin_family = AF_INET;
mRetransmitEndpoint.sin_addr = saddr;
mRetransmitEndpoint.sin_port = htons(port);