зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1377370. P2 - simplify HLSDecoder::Clone() for HLSResource doesn't support clone at all. r=kikuo
MozReview-Commit-ID: FxebHdK4EmM --HG-- extra : rebase_source : d1074b8e5edf646244922a734839c19f8a4fb1b4 extra : source : 418066ce151ef0e5dc4b817f8663c281fc5fcc0d
This commit is contained in:
Родитель
7d2785b4a8
Коммит
b02249e698
|
@ -39,10 +39,8 @@ HLSDecoder::CreateStateMachine()
|
|||
ChannelMediaDecoder*
|
||||
HLSDecoder::Clone(MediaDecoderInit& aInit)
|
||||
{
|
||||
if (!IsEnabled()) {
|
||||
return nullptr;
|
||||
}
|
||||
return new HLSDecoder(aInit);
|
||||
MOZ_CRASH("Clone is not supported");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
Загрузка…
Ссылка в новой задаче