audio_core: Fix FDK and FFmpeg compile errors. (#6591)
This commit is contained in:
parent
c67c648c1a
commit
f1ece7c56f
2 changed files with 3 additions and 3 deletions
|
@ -105,7 +105,7 @@ std::optional<BinaryMessage> FDKDecoder::Impl::ProcessRequest(const BinaryMessag
|
|||
}
|
||||
case DecoderCommand::Unknown: {
|
||||
BinaryMessage response = request;
|
||||
response.header.result = 0x0;
|
||||
response.header.result = ResultStatus::Success;
|
||||
return response;
|
||||
}
|
||||
default:
|
||||
|
@ -116,7 +116,7 @@ std::optional<BinaryMessage> FDKDecoder::Impl::ProcessRequest(const BinaryMessag
|
|||
}
|
||||
|
||||
std::optional<BinaryMessage> FDKDecoder::Impl::Decode(const BinaryMessage& request) {
|
||||
BinaryMessages response;
|
||||
BinaryMessage response{};
|
||||
response.header.codec = request.header.codec;
|
||||
response.header.cmd = request.header.cmd;
|
||||
response.decode_aac_response.size = request.decode_aac_request.size;
|
||||
|
|
|
@ -143,7 +143,7 @@ void FFMPEGDecoder::Impl::Clear() {
|
|||
}
|
||||
|
||||
std::optional<BinaryMessage> FFMPEGDecoder::Impl::Decode(const BinaryMessage& request) {
|
||||
BinaryMessage response;
|
||||
BinaryMessage response{};
|
||||
response.header.codec = request.header.codec;
|
||||
response.header.cmd = request.header.cmd;
|
||||
response.decode_aac_response.size = request.decode_aac_request.size;
|
||||
|
|
Loading…
Reference in a new issue