mirror of
https://github.com/MGislv/NekoX.git
synced 2024-07-02 10:33:36 +00:00
Fix AudioStream
This commit is contained in:
parent
837a6543e0
commit
6aeb6f679e
|
@ -75,6 +75,7 @@ function build_one {
|
|||
--enable-avresample \
|
||||
--enable-swscale \
|
||||
--enable-protocol=file \
|
||||
--enable-decoder=opus \
|
||||
--enable-decoder=h264 \
|
||||
--enable-decoder=mpeg4 \
|
||||
--enable-decoder=mjpeg \
|
||||
|
|
|
@ -298,9 +298,8 @@ public:
|
|||
int outPcmSampleOffset = 0;
|
||||
ReadPcmResult result;
|
||||
|
||||
if(_channelCount==0)
|
||||
{
|
||||
RTC_LOG(LS_WARNING) << "_channelCount == 0, returned.";
|
||||
if (_channelCount == 0) {
|
||||
RTC_LOG(LS_WARNING) << "ReadPcmResult readPcm: _channelCount == 0, returned.";
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user