This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit c952167614d83dfcfb202e7689e0be72a4c2779c Author: Kacper Michajłow <[email protected]> AuthorDate: Sun Feb 1 21:08:48 2026 +0100 Commit: Kacper Michajłow <[email protected]> CommitDate: Thu Sep 24 08:43:09 2026 +0000 tools/target_sws_fuzzer: fix unused variable warnings Signed-off-by: Kacper Michajłow <[email protected]> --- tools/target_sws_fuzzer.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/target_sws_fuzzer.c b/tools/target_sws_fuzzer.c index 0e14adb1be..a0a2ef31bc 100644 --- a/tools/target_sws_fuzzer.c +++ b/tools/target_sws_fuzzer.c @@ -95,13 +95,11 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { int srcStride[AV_VIDEO_MAX_PLANES] = {0}; int dstStride[AV_VIDEO_MAX_PLANES] = {0}; int ret; - const uint8_t *end = data + size; enum AVPixelFormat srcFormat = AV_PIX_FMT_YUV420P; enum AVPixelFormat dstFormat = AV_PIX_FMT_YUV420P; uint8_t *src[AV_VIDEO_MAX_PLANES] = { 0 }; uint8_t *dst[AV_VIDEO_MAX_PLANES] = { 0 }; struct SwsContext *sws = NULL; - const AVPixFmtDescriptor *desc_src, *desc_dst; if (size > 128) { GetByteContext gbc; @@ -148,10 +146,12 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { //TODO alphablend } - desc_src = av_pix_fmt_desc_get(srcFormat); - desc_dst = av_pix_fmt_desc_get(dstFormat); +#ifdef ENABLE_LOG + const AVPixFmtDescriptor *desc_src = av_pix_fmt_desc_get(srcFormat); + const AVPixFmtDescriptor *desc_dst = av_pix_fmt_desc_get(dstFormat); - // fprintf(stderr, "%d x %d %s -> %d x %d %s\n", srcW, srcH, desc_src->name, dstW, dstH, desc_dst->name); + fprintf(stderr, "%d x %d %s -> %d x %d %s\n", srcW, srcH, desc_src->name, dstW, dstH, desc_dst->name); +#endif ret = alloc_plane(src, srcStride, srcW, srcH, srcFormat, &srcHShift, &srcVShift); if (ret < 0) -- 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]
