Bug 990780 - Add more padding to MediaCodec::ReadOptions for HTC devices r=doublec

The HTC version of OMXCodec has extra fields in its ReadOptions class over the
AOSP version. We added padding in bug 932820, but it was apparently not enough.
This patch simply adds more padding to our version of the class.
This commit is contained in:
Edwin Flores 2014-04-23 13:00:10 +12:00
parent 0cf1dbaebb
commit 95a78e55c8

View File

@ -938,7 +938,7 @@ class ReadOptions : public MediaSource::ReadOptions
{
// HTC have their own version of ReadOptions with extra fields. If we don't
// have this here, HTCOMXCodec will corrupt our stack.
uint32_t sadface[4];
uint32_t sadface[16];
};
bool OmxDecoder::ReadVideo(VideoFrame *aFrame, int64_t aSeekTimeUs,