зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1123012 - Just return a NULL ptr instead of casting NULL. r=jesup
This commit is contained in:
Родитель
f02647021c
Коммит
1482147cb9
|
@ -2070,7 +2070,7 @@ bool AudioCodingImpl::RegisterSendCodec(int encoder_type,
|
||||||
|
|
||||||
const AudioEncoder* AudioCodingImpl::GetSenderInfo() const {
|
const AudioEncoder* AudioCodingImpl::GetSenderInfo() const {
|
||||||
FATAL() << "Not implemented yet.";
|
FATAL() << "Not implemented yet.";
|
||||||
return reinterpret_cast<const AudioEncoder*>(NULL);
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
const CodecInst* AudioCodingImpl::GetSenderCodecInst() {
|
const CodecInst* AudioCodingImpl::GetSenderCodecInst() {
|
||||||
|
@ -2089,7 +2089,7 @@ int AudioCodingImpl::Add10MsAudio(const AudioFrame& audio_frame) {
|
||||||
|
|
||||||
const ReceiverInfo* AudioCodingImpl::GetReceiverInfo() const {
|
const ReceiverInfo* AudioCodingImpl::GetReceiverInfo() const {
|
||||||
FATAL() << "Not implemented yet.";
|
FATAL() << "Not implemented yet.";
|
||||||
return reinterpret_cast<const ReceiverInfo*>(NULL);
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool AudioCodingImpl::RegisterReceiveCodec(AudioDecoder* receive_codec) {
|
bool AudioCodingImpl::RegisterReceiveCodec(AudioDecoder* receive_codec) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче