Bug 1123012 - Just return a NULL ptr instead of casting NULL. r=jesup

This commit is contained in:
Gian-Carlo Pascutto 2015-02-25 08:31:11 +01:00
Родитель f02647021c
Коммит 1482147cb9
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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) {