[FFmpeg-devel] [PATCH] avutil/frame: Add av_frame_transfer_side_data() function

Anton Khirnov anton at khirnov.net
Tue Dec 7 09:59:45 EET 2021


Quoting Lynne (2021-12-06 20:12:31)
> 6 Dec 2021, 19:37 by anton at khirnov.net:
> 
> 
> I think av_frame_copy_side_data() makes more sense. Transfer
> implies that it strips the source frame of side data.

The whole point is that it makes refs, not copies (except when it
doesn't). I am open to alternative names, but copy is a bad one IMO.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list