Skip to content

Commit 2422401

Browse files
authored
Merge pull request Samsung#2570 from zhouxinhe/fix-svace-issue
framework/media: Fix issues svace reported
2 parents a00551c + a162733 commit 2422401

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

framework/src/media/HttpStream.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ std::shared_ptr<HttpStream> HttpStream::create()
4848
}
4949

5050
HttpStream::HttpStream() :
51-
mCurl(nullptr), mHttpHeaders(nullptr)
51+
mCurl(nullptr), mHttpHeaders(nullptr), mInitializeFlag(false)
5252
{
5353
}
5454

framework/src/media/voice/HardwareEndPointDetector.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ bool HardwareEndPointDetector::waitEndPoint(int timeout)
184184
ret = sem_timedwait(&mSem, &waketime);
185185
}
186186

187-
stop_stream_in_device_process_type(mSdCard, mSdDevice, AUDIO_DEVICE_SPEECH_DETECT_EPD);
187+
result = stop_stream_in_device_process_type(mSdCard, mSdDevice, AUDIO_DEVICE_SPEECH_DETECT_EPD);
188188
if (result != AUDIO_MANAGER_SUCCESS) {
189189
meddbg("Error: stop_stream_in_device_process_type(%d, %d) failed!\n", mSdCard, mSdDevice);
190190
return false;

0 commit comments

Comments
 (0)