mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Fixed unused function warnings when FFMPEG backend is used.
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include <freerdp/types.h>
|
||||
#include <freerdp/codec/dsp.h>
|
||||
|
||||
#if !defined(WITH_DSP_FFMPEG)
|
||||
#if defined(WITH_GSM)
|
||||
#include <gsm/gsm.h>
|
||||
#endif
|
||||
@@ -39,10 +40,6 @@
|
||||
#include <lame/lame.h>
|
||||
#endif
|
||||
|
||||
#if defined(WITH_DSP_FFMPEG)
|
||||
#include "dsp_ffmpeg.h"
|
||||
#endif
|
||||
|
||||
#if defined(WITH_FAAD2)
|
||||
#include <neaacdec.h>
|
||||
#endif
|
||||
@@ -51,8 +48,14 @@
|
||||
#include <faac.h>
|
||||
#endif
|
||||
|
||||
#else
|
||||
#include "dsp_ffmpeg.h"
|
||||
#endif
|
||||
|
||||
#define TAG FREERDP_TAG("dsp")
|
||||
|
||||
#if !defined(WITH_DSP_FFMPEG)
|
||||
|
||||
union _ADPCM
|
||||
{
|
||||
struct
|
||||
@@ -923,6 +926,8 @@ static BOOL freerdp_dsp_encode_ms_adpcm(FREERDP_DSP_CONTEXT* context, const BYTE
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
FREERDP_DSP_CONTEXT* freerdp_dsp_context_new(BOOL encoder)
|
||||
{
|
||||
#if defined(WITH_DSP_FFMPEG)
|
||||
|
||||
Reference in New Issue
Block a user