[FFmpeg-devel] [PATCH 21/35] avdevice: capabilities API details no longer public

Diederick C. Niehorster dcnieho at gmail.com
Tue Jun 8 08:59:32 EEST 2021


On Tue, Jun 8, 2021 at 1:26 AM James Almer <jamrial at gmail.com> wrote:

> On 6/7/2021 8:04 PM, Diederick Niehorster wrote:
> Instead of removing the struct altogether, just keep its typedef here.
> That way the functions below and any libavformat struct can still use
> AVDeviceCapabilitiesQuery as an incomplete type.
>
> So in short:
>
> typedef struct AVDeviceCapabilitiesQuery AVDeviceCapabilitiesQuery;
>

Will do.


> This is nonetheless technically an API break, but since nothing used
> this stuff, i guess we could make an exception. Not sure what other
> developers think.
>

That was my thinking, and I see Andreas agrees with this too, good.


>
> I assume you intend to also undo the deprecation?
>

Yes, thats patch 19/35 in this series.


More information about the ffmpeg-devel mailing list