[FFmpeg-devel] [PATCH v4 2/7] lavutil: add DOVI related header

Anton Khirnov anton at khirnov.net
Wed Apr 22 14:54:58 EEST 2020


Quoting mypopy at gmail.com (2020-04-22 10:56:52)
> On Wed, Apr 22, 2020 at 4:19 PM Anton Khirnov <anton at khirnov.net> wrote:
> > Making it inline would invalidate the whole point, which is to avoid
> > embedding the size of the struct into the calling program.
> >
> Do you mean I need to split the  av_dovi_alloc constructor to a
> separate c file?

Yes, the code has to be located in libavutil. So that if the struct is
enlarged in some later version of libavutil, the calling programs will
still work without having to be recompiled.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list