Andreas Rheinhardt (12021-08-04): > Reordering max_lowres is an ABI break. > > Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> > --- > libavcodec/codec.h | 13 +++++++------ > 1 file changed, 7 insertions(+), 6 deletions(-)
If it breaks API, then I would rather see it done properly rather than fortuitously: move capabilities and max_lowres after all the pointers. For reference, the robust way of avoiding padding in structures is to order fields by decreasing size. Since the public part of AVCodec changes rarely, once it is done, it should mostly hold. Regards, -- Nicolas George
signature.asc
Description: PGP signature
_______________________________________________ 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".