[FFmpeg-devel] [PATCH 1/3] avutil/frame: add av_frame_replace

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Fri Aug 13 18:22:16 EEST 2021


James Almer:
> On 8/10/2021 6:59 PM, James Almer wrote:
>> Signed-off-by: James Almer <jamrial at gmail.com>
>> ---
>> Not going to bother with implementing replace for side data, since
>> it's IMO not
>> worth it, but patches are welcome of course.
>>
>> Missing version bump and APIchanges entry.
>>
>>   libavutil/frame.c | 98 +++++++++++++++++++++++++++++++++++++++++++++++
>>   libavutil/frame.h | 18 +++++++++
>>   2 files changed, 116 insertions(+)
> 
> Will apply the set if there are no objections.

How many allocations are saved by this normally? (I.e. with a random
H.264 file you have)?

- Andreas


More information about the ffmpeg-devel mailing list