Fixed remarks

This commit is contained in:
Armin Novak 2018-07-04 11:03:32 +02:00
parent bf70ee6267
commit 4465bcfa86
2 changed files with 1 additions and 26 deletions

View File

@ -238,13 +238,13 @@ static UINT audin_process_formats(IWTSVirtualChannelCallback* pChannelCallback,
if (format.cbSize > 0)
{
Stream_Seek(s, format.cbSize);
format.data = malloc(format.cbSize);
if (!format.data)
return ERROR_OUTOFMEMORY;
memcpy(format.data, Stream_Pointer(s), format.cbSize);
Stream_Seek(s, format.cbSize);
}
DEBUG_DVC("wFormatTag=%"PRIu16" nChannels=%"PRIu16" nSamplesPerSec=%"PRIu32" "

View File

@ -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)
{
}