This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 5279cf09758d32a7944a96f5796cda42cd9a840b Author: Andreas Rheinhardt <[email protected]> AuthorDate: Mon Aug 17 04:13:26 2026 +0200 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Thu Aug 27 00:11:44 2026 +0200 avformat/ape: Don't log incomplete lines Incomplete lines (without \n) may be torn apart by av_log()s from other threads. So log them once. Also use ff_data_to_hex() for the data->hex conversion. Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavformat/ape.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libavformat/ape.c b/libavformat/ape.c index d2fd62902c..3bf359cb1f 100644 --- a/libavformat/ape.c +++ b/libavformat/ape.c @@ -107,10 +107,9 @@ static void ape_dumpinfo(AVFormatContext * s, APEContext * ape_ctx) av_log(s, AV_LOG_DEBUG, "audiodatalength = %"PRIu32"\n", ape_ctx->audiodatalength); av_log(s, AV_LOG_DEBUG, "audiodatalength_high = %"PRIu32"\n", ape_ctx->audiodatalength_high); av_log(s, AV_LOG_DEBUG, "wavtaillength = %"PRIu32"\n", ape_ctx->wavtaillength); - av_log(s, AV_LOG_DEBUG, "md5 = "); - for (i = 0; i < 16; i++) - av_log(s, AV_LOG_DEBUG, "%02x", ape_ctx->md5[i]); - av_log(s, AV_LOG_DEBUG, "\n"); + char md5_hex[sizeof(ape_ctx->md5) * 2 + 1]; + ff_data_to_hex(md5_hex, ape_ctx->md5, sizeof(ape_ctx->md5), 1); + av_log(s, AV_LOG_DEBUG, "md5 = %s\n", md5_hex); av_log(s, AV_LOG_DEBUG, "\nHeader Block:\n\n"); -- 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]
