[FFmpeg-devel] [PATCH] avutil/frame: Move new field to the end of AVFrame

Hendrik Leppkes h.leppkes at gmail.com
Thu Jun 30 01:25:59 CEST 2016

On Thu, Jun 30, 2016 at 12:50 AM, Timo Rothenpieler
<timo at rothenpieler.org> wrote:
>>> While it's true that all fields after it are not public API/ABI, a lot
>>> of software seems to misuse it, so to avoid too much trouble for now,
>>> this should be fixed.
>> How do you expect library users to start using the API correctly if every
>> time they do something wrong we are the ones that rush to break our code
>> just to adapt to their mistakes?
> During an actual major bump, where such breakage is expected.
> A lot of stuff gets it wrong, and it is indeed confusing, so putting all
> blame on API users seems wrong to me. Specially as this issue will block
> distributions from adapting 3.1.

Plenty previous releases moved fields that were marked as "no direct
access", usually because libav added a new field above the
ffmpeg-exclusive ones (like AVFrame.channels, which is a common
candidate), and we didn't do such a song and dance to accomodate
I asked this in other threads before - why this time?

- Hendrik

More information about the ffmpeg-devel mailing list