Quoting myp...@gmail.com (2020-04-22 10:56:52) > On Wed, Apr 22, 2020 at 4:19 PM Anton Khirnov <an...@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 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".