summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/hevcdec/SoftHEVC.h
diff options
context:
space:
mode:
authorWonsik Kim <wonsik@google.com>2016-03-20 10:44:44 +0900
committerThe Android Automerger <android-build@google.com>2016-04-21 19:09:56 -0700
commit918eeaa29d99d257282fafec931b4bda0e3bae12 (patch)
tree6119a04b6fa9033159a48a4ac1d53c2e57e6277d /media/libstagefright/codecs/hevcdec/SoftHEVC.h
parent7cea5cb64b83d690fe02bc210bbdf08f5a87636f (diff)
downloadframeworks_av-918eeaa29d99d257282fafec931b4bda0e3bae12.zip
frameworks_av-918eeaa29d99d257282fafec931b4bda0e3bae12.tar.gz
frameworks_av-918eeaa29d99d257282fafec931b4bda0e3bae12.tar.bz2
codecs: check OMX buffer size before use in (avc|hevc|mpeg2)dec
Bug: 27833616 Change-Id: Ic4045a3f56f53b08d0b1264b2a91b8f43e91b738 (cherry picked from commit 87fdee0bc9e3ac4d2a88ef0a8e150cfdf08c161d)
Diffstat (limited to 'media/libstagefright/codecs/hevcdec/SoftHEVC.h')
-rw-r--r--media/libstagefright/codecs/hevcdec/SoftHEVC.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/codecs/hevcdec/SoftHEVC.h b/media/libstagefright/codecs/hevcdec/SoftHEVC.h
index 21bb99e..943edfd 100644
--- a/media/libstagefright/codecs/hevcdec/SoftHEVC.h
+++ b/media/libstagefright/codecs/hevcdec/SoftHEVC.h
@@ -106,7 +106,7 @@ private:
status_t resetDecoder();
status_t resetPlugin();
- void setDecodeArgs(ivd_video_decode_ip_t *ps_dec_ip,
+ bool setDecodeArgs(ivd_video_decode_ip_t *ps_dec_ip,
ivd_video_decode_op_t *ps_dec_op,
OMX_BUFFERHEADERTYPE *inHeader,
OMX_BUFFERHEADERTYPE *outHeader,