aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/aubio/ffmpeg7.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/aubio/ffmpeg7.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/aubio/ffmpeg7.patch')
-rw-r--r--vcpkg/ports/aubio/ffmpeg7.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/aubio/ffmpeg7.patch b/vcpkg/ports/aubio/ffmpeg7.patch
new file mode 100644
index 0000000..cf0fe6e
--- /dev/null
+++ b/vcpkg/ports/aubio/ffmpeg7.patch
@@ -0,0 +1,15 @@
+diff --git a/src/io/source_avcodec.c b/src/io/source_avcodec.c
+index 71ea8b5f..ad91f5eb 100644
+--- a/src/io/source_avcodec.c
++++ b/src/io/source_avcodec.c
+@@ -345,8 +345,8 @@ void aubio_source_avcodec_reset_resampler(aubio_source_avcodec_t * s)
+ av_channel_layout_default(&input_layout, s->input_channels);
+ av_channel_layout_default(&output_layout, s->input_channels);
+
+- av_opt_set_chlayout(avr, "in_channel_layout", &input_layout, 0);
+- av_opt_set_chlayout(avr, "out_channel_layout", &output_layout, 0);
++ av_opt_set_chlayout(avr, "in_chlayout", &input_layout, 0);
++ av_opt_set_chlayout(avr, "out_chlayout", &output_layout, 0);
+ #else
+ int64_t input_layout = av_get_default_channel_layout(s->input_channels);
+ int64_t output_layout = av_get_default_channel_layout(s->input_channels);