mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1123012 - Just return a NULL ptr instead of casting NULL. r=jesup
This commit is contained in:
parent
fdd2cd7334
commit
8275a74b81
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user