summaryrefslogtreecommitdiffstats
path: root/cmds/stagefright
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2014-02-11 14:45:59 -0800
committerAndreas Huber <andih@google.com>2014-02-11 14:48:27 -0800
commitccb067b1d8424ba610cbd3de83368bd55b532b5b (patch)
treebf84c5014263d1d72370d5274edb4a3f9711aa8f /cmds/stagefright
parent880c6b2dd8b2fe2ab0054e74bbc108d322e82aa0 (diff)
downloadframeworks_av-ccb067b1d8424ba610cbd3de83368bd55b532b5b.zip
frameworks_av-ccb067b1d8424ba610cbd3de83368bd55b532b5b.tar.gz
frameworks_av-ccb067b1d8424ba610cbd3de83368bd55b532b5b.tar.bz2
fix the build by fixing more warnings.
Change-Id: Ied0ec39eb83b101582702d1e30c21643ccf6353e
Diffstat (limited to 'cmds/stagefright')
-rw-r--r--cmds/stagefright/SineSource.cpp4
-rw-r--r--cmds/stagefright/record.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/cmds/stagefright/SineSource.cpp b/cmds/stagefright/SineSource.cpp
index 14b4306..587077a 100644
--- a/cmds/stagefright/SineSource.cpp
+++ b/cmds/stagefright/SineSource.cpp
@@ -24,7 +24,7 @@ SineSource::~SineSource() {
}
}
-status_t SineSource::start(MetaData *params) {
+status_t SineSource::start(MetaData * /* params */) {
CHECK(!mStarted);
mGroup = new MediaBufferGroup;
@@ -58,7 +58,7 @@ sp<MetaData> SineSource::getFormat() {
}
status_t SineSource::read(
- MediaBuffer **out, const ReadOptions *options) {
+ MediaBuffer **out, const ReadOptions * /* options */) {
*out = NULL;
MediaBuffer *buffer;
diff --git a/cmds/stagefright/record.cpp b/cmds/stagefright/record.cpp
index b7a40c2..fdc352e 100644
--- a/cmds/stagefright/record.cpp
+++ b/cmds/stagefright/record.cpp
@@ -296,7 +296,7 @@ int main(int argc, char **argv) {
}
#else
-int main(int argc, char **argv) {
+int main(int /* argc */, char ** /* argv */) {
android::ProcessState::self()->startThreadPool();
OMXClient client;