[MPlayer-cvslog] r38643 - trunk/libaf/af_lavcresample.c
cigaes
subversion at mplayerhq.hu
Sat Sep 21 12:30:03 EEST 2024
Author: cigaes
Date: Sat Sep 21 12:30:03 2024
New Revision: 38643
Log:
libaf/af_lavcresample: explicit pointer casts
Recent compilers consider implicit casts an error.
Modified:
trunk/libaf/af_lavcresample.c
Modified: trunk/libaf/af_lavcresample.c
==============================================================================
--- trunk/libaf/af_lavcresample.c Sat Sep 21 12:30:02 2024 (r38642)
+++ trunk/libaf/af_lavcresample.c Sat Sep 21 12:30:03 2024 (r38643)
@@ -174,7 +174,7 @@ static af_data_t* play(struct af_instanc
memcpy(s->in[0], in, in_len);
- ret = swr_convert(s->swrctx, &s->tmp[0], out_len/chans/bps, &s->in[0], in_len/chans/bps);
+ ret = swr_convert(s->swrctx, &s->tmp[0], out_len/chans/bps, (const uint8_t *const *)&s->in[0], in_len/chans/bps);
if (ret < 0) return NULL;
out_len= ret*chans*bps;
More information about the MPlayer-cvslog
mailing list