PR #23706 opened by Jamaika1
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23706
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23706.patch

```
vf_quirc.c: In function 'filter_frame':
vf_quirc.c:104:46: warning: format '%ld' expects argument of type 'long int', 
but argument 5 has type 'int64_t' {aka 'long long int'} [-Wformat=]
  104 |            "Found count %d codes in image #%ld\n", codes_count, 
inl->frame_count_out);
      |                                            ~~^                  
~~~~~~~~~~~~~~~~~~~~
      |                                              |                     |
      |                                              long int              
int64_t {aka long long int}
      |                                            %lld
```

# Summary of changes

Briefly describe what this PR does and why.

<!--
If this PR requires new FATE test samples, attach them to the PR and
list their target paths below (relative to the fate-suite root).

Attached filenames must match the sample's filename:

```fate-samples
# e.g. vorbis/new-sample.ogg
```
-->



>From 6da8a84e0d0c7deb62e8db7dcdbd488fe7e038f0 Mon Sep 17 00:00:00 2001
From: Jamaika1 <[email protected]>
Date: Sun, 5 Jul 2026 13:00:10 +0000
Subject: [PATCH] Fix specifier character

```
vf_quirc.c: In function 'filter_frame':
vf_quirc.c:104:46: warning: format '%ld' expects argument of type 'long int', 
but argument 5 has type 'int64_t' {aka 'long long int'} [-Wformat=]
  104 |            "Found count %d codes in image #%ld\n", codes_count, 
inl->frame_count_out);
      |                                            ~~^                  
~~~~~~~~~~~~~~~~~~~~
      |                                              |                     |
      |                                              long int              
int64_t {aka long long int}
      |                                            %lld
```
---
 libavfilter/vf_quirc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_quirc.c b/libavfilter/vf_quirc.c
index d2ba48e7bc..9422c5c8c3 100644
--- a/libavfilter/vf_quirc.c
+++ b/libavfilter/vf_quirc.c
@@ -101,7 +101,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame 
*frame)
 
     codes_count = quirc_count(quirc->quirc);
     av_log(ctx, AV_LOG_VERBOSE,
-           "Found count %d codes in image #%ld\n", codes_count, 
inl->frame_count_out);
+           "Found count %d codes in image #%zu\n", codes_count, 
inl->frame_count_out);
 
     if (codes_count) {
         int i, j;
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to