James Almer (12021-03-23): > I really don't like the idea of returning a pointer to some offset within an > internal struct that may either start pointing at some other entry or even > to freed memory, especially when the alternative of giving the user a copy > of a single entry is trivial to do and actually safe.
It is already what the users who accessed the field directly did. And I am pretty sure I can find examples where we do similar things in the code base. And it is exactly what we are doing when we let users access fields directly. And the problem of sizeof(AVIndexEntry) part of the ABI just disappears if we do that. May I suggest that you recalibrate your dislike? 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".