mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 20:01:50 +00:00
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:
parent
0cf1dbaebb
commit
95a78e55c8
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user