summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/rtsp/ARTPConnection.cpp
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-24 14:47:15 -0800
committerAndreas Gampe <agampe@google.com>2014-11-25 14:55:25 -0800
commitb3f9759c8c9437c45b9a34519ce2ea38a8314d4e (patch)
tree05982b486e08637901d5ac4890aa2be659239064 /media/libstagefright/rtsp/ARTPConnection.cpp
parente4f6ecb9d323984c2b86f6d2735ebc69c5a3517a (diff)
downloadframeworks_av-b3f9759c8c9437c45b9a34519ce2ea38a8314d4e.zip
frameworks_av-b3f9759c8c9437c45b9a34519ce2ea38a8314d4e.tar.gz
frameworks_av-b3f9759c8c9437c45b9a34519ce2ea38a8314d4e.tar.bz2
Stagefright: Fix unused variables, functions, values
For build-system CFLAGS clean-up, remove unused functions and variables. Change-Id: Ic3dee56b589ea9a693efa1d72ba394036efff168
Diffstat (limited to 'media/libstagefright/rtsp/ARTPConnection.cpp')
-rw-r--r--media/libstagefright/rtsp/ARTPConnection.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/media/libstagefright/rtsp/ARTPConnection.cpp b/media/libstagefright/rtsp/ARTPConnection.cpp
index 372fbe9..a6bd824 100644
--- a/media/libstagefright/rtsp/ARTPConnection.cpp
+++ b/media/libstagefright/rtsp/ARTPConnection.cpp
@@ -664,11 +664,10 @@ void ARTPConnection::onInjectPacket(const sp<AMessage> &msg) {
StreamInfo *s = &*it;
- status_t err;
if (it->mRTPSocket == index) {
- err = parseRTP(s, buffer);
+ parseRTP(s, buffer);
} else {
- err = parseRTCP(s, buffer);
+ parseRTCP(s, buffer);
}
}