summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2012-03-23 16:15:19 -0700
committerJames Dong <jdong@google.com>2012-03-24 10:15:18 -0700
commit062ed957e0a086b70414b62529993b28072dc86c (patch)
treeb32de670c9addff6af78aa1542ecc3e8db56603d
parent3b3a5b100b2ec63d8f6511b655c74f629b7d1981 (diff)
downloadframeworks_base-062ed957e0a086b70414b62529993b28072dc86c.zip
frameworks_base-062ed957e0a086b70414b62529993b28072dc86c.tar.gz
frameworks_base-062ed957e0a086b70414b62529993b28072dc86c.tar.bz2
Fixed missing return value from a method should have returned status_t
Change-Id: I83ad2735eaf8a8dfa5f8f29f30aec1311b3222de
-rw-r--r--include/media/stagefright/SurfaceMediaSource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/stagefright/SurfaceMediaSource.h b/include/media/stagefright/SurfaceMediaSource.h
index 54baab6..936b057 100644
--- a/include/media/stagefright/SurfaceMediaSource.h
+++ b/include/media/stagefright/SurfaceMediaSource.h
@@ -111,7 +111,7 @@ public:
// Make sure this is called when the mutex is locked
virtual status_t onFrameReceivedLocked();
- virtual status_t setScalingMode(int mode) { } // no op for encoding
+ virtual status_t setScalingMode(int mode) { return OK; } // no op for encoding
virtual int query(int what, int* value);
// Just confirming to the ISurfaceTexture interface as of now