aboutsummaryrefslogtreecommitdiffstats
path: root/libswresample/swresample.c
diff options
context:
space:
mode:
authorrcombs <rcombs@rcombs.me>2022-08-05 15:57:31 -0500
committerrcombs <rcombs@rcombs.me>2022-08-24 18:31:05 -0500
commit9546b3a1cbcd94e9107f85c8f1d2175efc6cf083 (patch)
tree4eb50ce122cad961feeead396fbaca1d2e451d1d /libswresample/swresample.c
parent22514527d316f3ed184301d4694d4d028e2a362e (diff)
downloadffmpeg-9546b3a1cbcd94e9107f85c8f1d2175efc6cf083.tar.gz
lswr: take const AVChannelLayout* in swr_alloc_set_opts2()
This is fully backwards-compatible in both ABI and API, so it's only a minor bump.
Diffstat (limited to 'libswresample/swresample.c')
-rw-r--r--libswresample/swresample.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswresample/swresample.c b/libswresample/swresample.c
index 601e691596..6f04d130d3 100644
--- a/libswresample/swresample.c
+++ b/libswresample/swresample.c
@@ -83,8 +83,8 @@ FF_ENABLE_DEPRECATION_WARNINGS
#endif
int swr_alloc_set_opts2(struct SwrContext **ps,
- AVChannelLayout *out_ch_layout, enum AVSampleFormat out_sample_fmt, int out_sample_rate,
- AVChannelLayout *in_ch_layout, enum AVSampleFormat in_sample_fmt, int in_sample_rate,
+ const AVChannelLayout *out_ch_layout, enum AVSampleFormat out_sample_fmt, int out_sample_rate,
+ const AVChannelLayout *in_ch_layout, enum AVSampleFormat in_sample_fmt, int in_sample_rate,
int log_offset, void *log_ctx) {
struct SwrContext *s = *ps;
int ret;