diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-04-10 09:37:52 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2014-04-11 11:25:19 -0700 |
commit | d6579cc9f06052f94bf5a2c34261c84de0efce23 (patch) | |
tree | 19a65464efb5c70b2e656053f53a1d0db5039ac9 /media/libmedia | |
parent | a133bc87eb8269a6fa61772cb708f10c9c3b7a87 (diff) | |
download | frameworks_av-d6579cc9f06052f94bf5a2c34261c84de0efce23.zip frameworks_av-d6579cc9f06052f94bf5a2c34261c84de0efce23.tar.gz frameworks_av-d6579cc9f06052f94bf5a2c34261c84de0efce23.tar.bz2 |
media: memset sizeof argument issues
Change-Id: I37ef154eea0f77fb7f22faf6891f3025f6ff346e
Diffstat (limited to 'media/libmedia')
-rw-r--r-- | media/libmedia/mediaplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libmedia/mediaplayer.cpp b/media/libmedia/mediaplayer.cpp index 0f6d897..7a6f31d 100644 --- 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); |