[FFmpeg-devel] [PATCH v7 05/14] avutil/frame: add helper for adding side data to array

Anton Khirnov anton at khirnov.net
Fri Mar 1 20:09:57 EET 2024


Quoting Jan Ekström (2024-02-29 17:42:52)
> diff --git a/libavutil/frame.h b/libavutil/frame.h
> index 921f2212cf..726ca19a03 100644
> --- a/libavutil/frame.h
> +++ b/libavutil/frame.h
> @@ -1060,6 +1060,27 @@ const char *av_frame_side_data_name(enum AVFrameSideDataType type);
>   */
>  void av_frame_side_data_free(AVFrameSideData ***sd, int *nb_sd);
>  
> +#define AV_FRAME_SIDE_DATA_SET_FLAG_NO_DUPLICATES (1 << 0)

Long name is long, also obsolete reference to sets.

AV_FRAME_SIDE_DATA_FLAG_UNIQUE?

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list