swresample/rematrix: Constify

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2025-06-23 02:15:00 +02:00
parent 589f1e5cc7
commit 2db60f90df
3 changed files with 11 additions and 8 deletions

View File

@@ -581,7 +581,7 @@ int swri_rematrix(SwrContext *s, AudioData *out, AudioData *in, int len, int mus
int off = 0;
if(s->mix_any_f) {
s->mix_any_f(out->ch, (const uint8_t **)in->ch, s->native_matrix, len);
s->mix_any_f(out->ch, (const uint8_t *const *)in->ch, s->native_matrix, len);
return 0;
}