mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
Fixed remarks
This commit is contained in:
parent
bf70ee6267
commit
4465bcfa86
@ -238,13 +238,13 @@ static UINT audin_process_formats(IWTSVirtualChannelCallback* pChannelCallback,
|
|||||||
|
|
||||||
if (format.cbSize > 0)
|
if (format.cbSize > 0)
|
||||||
{
|
{
|
||||||
Stream_Seek(s, format.cbSize);
|
|
||||||
format.data = malloc(format.cbSize);
|
format.data = malloc(format.cbSize);
|
||||||
|
|
||||||
if (!format.data)
|
if (!format.data)
|
||||||
return ERROR_OUTOFMEMORY;
|
return ERROR_OUTOFMEMORY;
|
||||||
|
|
||||||
memcpy(format.data, Stream_Pointer(s), format.cbSize);
|
memcpy(format.data, Stream_Pointer(s), format.cbSize);
|
||||||
|
Stream_Seek(s, format.cbSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUG_DVC("wFormatTag=%"PRIu16" nChannels=%"PRIu16" nSamplesPerSec=%"PRIu32" "
|
DEBUG_DVC("wFormatTag=%"PRIu16" nChannels=%"PRIu16" nSamplesPerSec=%"PRIu32" "
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
/**
|
|
||||||
* FreeRDP: A Remote Desktop Protocol Implementation
|
|
||||||
* Server Audio Virtual Channel
|
|
||||||
*
|
|
||||||
* Copyright 2018 Armin Novak <armin.novak@thincast.com>
|
|
||||||
* Copyright 2018 Thincast Technologies GmbH
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
#include "rdpsnd_common.h"
|
|
||||||
|
|
||||||
/* Prevent this compilation unit from being empty */
|
|
||||||
void placeholder(void)
|
|
||||||
{
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user