summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/foundation/ANetworkSession.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix benign unsigned integer overflowVishwath Mohan2015-11-051-2/+2
| | | | | | | | Fixes a benign overflow error in ANetworkSession.cpp Bug: 23110888 Change-Id: Ic64f5100ab1e3f2ffe247ca4f7b40d38c1ff0c2a (cherry picked from cfe302317c873001b0b35352d9f4f52c39f6f4b7)
* Move AString's StringPrintf out of the way.Elliott Hughes2015-02-041-3/+3
| | | | | | | | | We should come back and replace AString with std::string and switch to the "real" StringPrintf family, but this fixes the ODR violation that was preventing us from booting. Bug: 19265750 Change-Id: I798eb9ca5dd634e44625af5e583439ef9f0cdc35
* libstagefright foundation: fix uninitialized varibale warningAmit Pundir2014-05-151-1/+1
| | | | | | | | gcc-4.9 reports warning for this uninitialized variable and -Werror make this warning fatal. Change-Id: I6901362246d53deeded78fa38ad656b167705346 Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
* warnings be gone.Andreas Huber2014-04-111-1/+1
| | | | | | | | (cherry picked from commit 84333e0475bc911adc16417f4ca327c975cf6c36) Modified by Mark Salyzyn <salyzyn@google.com> to keep merge conflicts or errors downstream to a minimum. Change-Id: Ic3b272f9cbf3155001aabd2f79728f1bc31de613
* libstagefright_foundation: fix printf format for 64-bitColin Cross2014-03-181-1/+1
| | | | | | | | | | Fixes build error: frameworks/av/media/libstagefright/foundation/ANetworkSession.cpp:582:131: error: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Werror=format=] ALOGI("%d datagrams remain queued.", mOutFragments.size()); ^ cc1plus: all warnings being treated as errors Change-Id: I69d1f086b8f1e450f107671c8f8f3ed696d170b4
* ANetworkSession and ParsedMessage are now part of stagefright foundation.Andreas Huber2013-07-181-0/+1412
Also fixes some bugs in ParseMessage and adds "WebSocket" mode to ANetworkSession, something that's opt-in and should not affect existing clients of the API. Change-Id: I86d5748e0d818231d85d3590d86c2b41d4f8b1f1