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.
This commit is contained in:
rcombs
2022-08-05 15:57:31 -05:00
parent 22514527d3
commit 9546b3a1cb
3 changed files with 5 additions and 5 deletions

View File

@@ -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;