ffmpeg | branch: release/5.0 | Niklas Haas <g...@haasn.dev> | Tue Jan  4 
14:34:36 2022 +0100| [a02d3054ea5412ac32e9d51778168a678a1ab889] | committer: 
Andreas Rheinhardt

lavfi/showinfo: fix printf precision for dovi metadata

Fix warning caused by this field changing from uint64_t to uint16_t.

Signed-off-by: Niklas Haas <g...@haasn.dev>
Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com>
(cherry picked from commit 10e4b2b1d243435445ff537cc9e3948b7490eb5b)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a02d3054ea5412ac32e9d51778168a678a1ab889
---

 libavfilter/vf_showinfo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c
index 909ad4f8d7..71728bced4 100644
--- a/libavfilter/vf_showinfo.c
+++ b/libavfilter/vf_showinfo.c
@@ -499,7 +499,7 @@ static void dump_dovi_metadata(AVFilterContext *ctx, const 
AVFrameSideData *sd)
             av_log(ctx, AV_LOG_INFO, "} ");
         }
 
-        av_log(ctx, AV_LOG_INFO, "}; nlq_offset=%"PRIu64"; ", nlq->nlq_offset);
+        av_log(ctx, AV_LOG_INFO, "}; nlq_offset=%"PRIu16"; ", nlq->nlq_offset);
         av_log(ctx, AV_LOG_INFO, "vdr_in_max=%"PRIu64"; ", nlq->vdr_in_max);
         switch (mapping->nlq_method_idc) {
         case AV_DOVI_NLQ_LINEAR_DZ:

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to