сб, 6 апр. 2024 г., 01:16 Andrew Randrianasulu <randrianasulu@gmail.com>:
so I was using this  patch as guidance


apparently channels was replaced by ch_layout.nb_channels

and channel_layout
by ch_layout.u.mask

I'll try to put ifdef guards around those changes and make some patches ...


It compiles :)

but not sure if it actually works ..

note, it should compile even with our ffmpeg 6.1 , I hope? because api change was for 5.1, 7.0 just removed it as "long deprecated" .