mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 06:45:42 +00:00
Bug 813637 - Let the compiler convert between the types, so that we don't end up with incorrect pointer math; r=cpearce
This commit is contained in:
parent
cf0fa3d371
commit
772eb2c0c3
@ -24,7 +24,7 @@ MediaPluginReader::MediaPluginReader(AbstractMediaDecoder *aDecoder) :
|
||||
mAudioSeekTimeUs(-1),
|
||||
mLastVideoFrame(NULL)
|
||||
{
|
||||
reinterpret_cast<MediaPluginDecoder *>(aDecoder)->GetContentType(mType);
|
||||
static_cast<MediaPluginDecoder *>(aDecoder)->GetContentType(mType);
|
||||
}
|
||||
|
||||
MediaPluginReader::~MediaPluginReader()
|
||||
|
Loading…
Reference in New Issue
Block a user