This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit e9ec302b3137aec22ecfd45167f371ac99c3a814 Author: Andreas Rheinhardt <[email protected]> AuthorDate: Mon Aug 17 20:11:42 2026 +0200 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Thu Aug 27 00:11:44 2026 +0200 avformat/shared: Use ff_data_to_hex() where appropriate Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavformat/shared.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/shared.c b/libavformat/shared.c index fbe86ff1dc..e7c2221373 100644 --- a/libavformat/shared.c +++ b/libavformat/shared.c @@ -271,8 +271,7 @@ static int shared_open(URLContext *h, const char *arg, int flags, AVDictionary * /* 128 bits is enough for collision resistance; we already store the full * hash inside the header for verification */ char filename[2 * 16 + 1]; - for (int i = 0; i < FF_ARRAY_ELEMS(filename) / 2; i++) - sprintf(&filename[i * 2], "%02X", hash[i]); + ff_data_to_hex(filename, hash, sizeof(filename)/2, 0); s->cache_path = av_asprintf("%s/%s.cache", s->cache_dir, filename); s->map_path = av_asprintf("%s/%s.spacemap", s->cache_dir, filename); if (!s->cache_path || !s->map_path) { -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
