The lavfi changes, more specifically wrapped_avframe, still rely on sizeof(AVFrame) being used outside lavu. We really need to stop spreading its use and find a way to change this behavior. I have tried like two different solutions and both were rejected, so it's not going to be me.
wrapped_avframe is used all over the place in lavd already. Is that really a problem, as long as it's within another libav* library? Given we don't support mix-matching library versions in the first place.
The only real way around that would be a get_size function in lavu, and never using AVFrames on the stack, which is done in quite a lot of places.
_______________________________________________ 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".