summaryrefslogtreecommitdiffstats
path: root/include/media/stagefright/OMXCodec.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-11-18 12:22:59 -0800
committerAndreas Huber <andih@google.com>2011-11-18 12:22:59 -0800
commit71b61a960ae30df990976ca5dbe780d85a15b0d1 (patch)
treeb8a9826f9287872f217be9cbb8d48b18ad2b234d /include/media/stagefright/OMXCodec.h
parent6479b955d21707609eae70008cf7956dddf12371 (diff)
downloadframeworks_av-71b61a960ae30df990976ca5dbe780d85a15b0d1.zip
frameworks_av-71b61a960ae30df990976ca5dbe780d85a15b0d1.tar.gz
frameworks_av-71b61a960ae30df990976ca5dbe780d85a15b0d1.tar.bz2
Report a runtime error instead of asserting on malformed avc configuration data.
Change-Id: Ibcd9c3fb5b6532eba843ed80ecdcdacaf50d8845 related-to-bug: 5641069
Diffstat (limited to 'include/media/stagefright/OMXCodec.h')
-rw-r--r--include/media/stagefright/OMXCodec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/media/stagefright/OMXCodec.h b/include/media/stagefright/OMXCodec.h
index c21d19d..84f8282 100644
--- a/include/media/stagefright/OMXCodec.h
+++ b/include/media/stagefright/OMXCodec.h
@@ -336,6 +336,10 @@ private:
int64_t retrieveDecodingTimeUs(bool isCodecSpecific);
+ status_t parseAVCCodecSpecificData(
+ const void *data, size_t size,
+ unsigned *profile, unsigned *level);
+
OMXCodec(const OMXCodec &);
OMXCodec &operator=(const OMXCodec &);
};