This patchset adds functions for handling UUIDs to libavutil, under the av_uuid_* prefix, and refactors the various ad-hoc handling to use it. This was proposed in [1].
This is _heavily_ based off libuuid with various parts of the code simplified to remove unnecessary functionality (e.g. generation, and v1 UUIDs). Why not use libuuid directly? * It introduces yet another external dependency, * has issues building on Windows, and * the code is relatively small, stable, and unlikely to change. [1]: https://ffmpeg.org/pipermail/ffmpeg-devel/2022-January/291917.html Pierre-Anthony Lemieux (6): avutil/tests/uuid: add uuid tests avformat/mov: refactor to use avutil/uuid avformat/smoothstreamingenc: refactor to use avutil/uuid avcodec/cbs_sei: refactor to use avutil/uuid avformat/imf: refactor to use avutil/uuid avfilter/showinfo: refactor to use avutil/uuid Zane van Iperen (1): avutil/uuid: add utility library for manipulating UUIDs as specified in RFC 4122 libavcodec/cbs_sei.h | 3 +- libavcodec/vaapi_encode_h264.c | 8 +- libavfilter/vf_showinfo.c | 17 +--- libavformat/imf.h | 18 +--- libavformat/imf_cpl.c | 60 ++++------- libavformat/imfdec.c | 34 +++---- libavformat/mov.c | 25 ++--- libavformat/movenc.c | 9 +- libavformat/smoothstreamingenc.c | 7 +- libavformat/tests/imf.c | 18 ++-- libavutil/Makefile | 3 + libavutil/tests/.gitignore | 1 + libavutil/tests/uuid.c | 139 +++++++++++++++++++++++++ libavutil/uuid.c | 156 +++++++++++++++++++++++++++++ libavutil/uuid.h | 167 +++++++++++++++++++++++++++++++ tests/fate/libavutil.mak | 5 + 16 files changed, 556 insertions(+), 114 deletions(-) create mode 100644 libavutil/tests/uuid.c create mode 100644 libavutil/uuid.c create mode 100644 libavutil/uuid.h -- 2.35.1 _______________________________________________ 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".