summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/on2/dec/SoftVPX.h
diff options
context:
space:
mode:
authorRobert Shih <robertshih@google.com>2016-06-24 12:37:45 -0700
committergitbuildkicker <android-build@google.com>2016-08-16 15:51:49 -0700
commit356f1ded898c5708ea95fe22ece052c3a094950d (patch)
tree9a5aa6ae7093cb9a5301d1cb8af8769482e64629 /media/libstagefright/codecs/on2/dec/SoftVPX.h
parented4f365e8b158934937ad0a2e14ede566923bc33 (diff)
downloadframeworks_av-356f1ded898c5708ea95fe22ece052c3a094950d.zip
frameworks_av-356f1ded898c5708ea95fe22ece052c3a094950d.tar.gz
frameworks_av-356f1ded898c5708ea95fe22ece052c3a094950d.tar.bz2
SoftVPX: fix nFilledLen overflow
Bug: 29421675 Change-Id: I25d4cf54a5df22c2130c37e95c7c7f75063111f3
Diffstat (limited to 'media/libstagefright/codecs/on2/dec/SoftVPX.h')
-rw-r--r--media/libstagefright/codecs/on2/dec/SoftVPX.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/libstagefright/codecs/on2/dec/SoftVPX.h b/media/libstagefright/codecs/on2/dec/SoftVPX.h
index 8ccbae2..84cf79c 100644
--- a/media/libstagefright/codecs/on2/dec/SoftVPX.h
+++ b/media/libstagefright/codecs/on2/dec/SoftVPX.h
@@ -66,6 +66,7 @@ private:
status_t initDecoder();
status_t destroyDecoder();
bool outputBuffers(bool flushDecoder, bool display, bool eos, bool *portWillReset);
+ bool outputBufferSafe(OMX_BUFFERHEADERTYPE *outHeader);
DISALLOW_EVIL_CONSTRUCTORS(SoftVPX);
};