From eae2e03adf59cdb5da1a126ad54b753db4f235e0 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Mon, 6 Oct 2025 08:43:15 +0200 Subject: [PATCH] [codec,ffmpeg] fix missing const argument --- libfreerdp/codec/dsp_ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreerdp/codec/dsp_ffmpeg.c b/libfreerdp/codec/dsp_ffmpeg.c index d89c6dbfa..8fba7f596 100644 --- a/libfreerdp/codec/dsp_ffmpeg.c +++ b/libfreerdp/codec/dsp_ffmpeg.c @@ -220,7 +220,7 @@ static void ffmpeg_close_context(FREERDP_DSP_CONTEXT* WINPR_RESTRICT context) } static void ffmpeg_setup_resample_frame(FREERDP_DSP_CONTEXT* WINPR_RESTRICT context, - AUDIO_FORMAT* WINPR_RESTRICT format) + const AUDIO_FORMAT* WINPR_RESTRICT format) { if (context->resampled->buf[0] != NULL) av_frame_unref(context->resampled);