summaryrefslogtreecommitdiffstats
path: root/include/media/stagefright/SurfaceMediaSource.h
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
commitbe9b24b86d2c84f2dc45bb8c8d1578b55cbd151d (patch)
tree06bf4f1d019a2a4a3972e2ef7df64fb4d053318e /include/media/stagefright/SurfaceMediaSource.h
parentef36d496477d1e2ae99c3cd43eee5cf7e82b0883 (diff)
downloadframeworks_av-be9b24b86d2c84f2dc45bb8c8d1578b55cbd151d.zip
frameworks_av-be9b24b86d2c84f2dc45bb8c8d1578b55cbd151d.tar.gz
frameworks_av-be9b24b86d2c84f2dc45bb8c8d1578b55cbd151d.tar.bz2
Fixed missing return value from a method should have returned status_t
Change-Id: I83ad2735eaf8a8dfa5f8f29f30aec1311b3222de
Diffstat (limited to 'include/media/stagefright/SurfaceMediaSource.h')
-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