diff mbox series

[FFmpeg-devel] fix av_log format specifier

Message ID 20240425230243.52232-1-marcus@marcusspencer.xyz
State New
Headers show
Series [FFmpeg-devel] fix av_log format specifier | expand

Checks

Context Check Description
yinshiyou/commit_msg_loongarch64 warning The first line of the commit message must start with a context terminated by a colon and a space, for example "lavu/opt: " or "doc: ".

Commit Message

marcus April 25, 2024, 11:02 p.m. UTC
Signed-off-by: Marcus B Spencer <marcus@marcusspencer.xyz>
---
 libavcodec/bsf/noise.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

marcus April 26, 2024, 5:01 p.m. UTC | #1
This patch does not meet the guidelines of commit messages.




On Thursday, April 25th, 2024 at 6:02 PM, Marcus B Spencer <marcus@marcusspencer.xyz> wrote:

> 
> 
> Signed-off-by: Marcus B Spencer marcus@marcusspencer.xyz
> 
> ---
> libavcodec/bsf/noise.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/bsf/noise.c b/libavcodec/bsf/noise.c
> index a622855717..d36be5fab4 100644
> --- a/libavcodec/bsf/noise.c
> +++ b/libavcodec/bsf/noise.c
> @@ -173,7 +173,7 @@ static int noise(AVBSFContext *ctx, AVPacket *pkt)
> drop = !(s->state % s->dropamount);
> 
> }
> 
> - av_log(ctx, AV_LOG_VERBOSE, "Stream #%d packet %d pts %"PRId64" - amount %d drop %d\n",
> + av_log(ctx, AV_LOG_VERBOSE, "Stream #%d packet %u pts %"PRId64" - amount %d drop %d\n",
> pkt->stream_index, (unsigned int)s->var_values[VAR_N], pkt->pts, amount, drop);
> 
> 
> if (drop) {
> --
> 2.44.0
diff mbox series

Patch

diff --git a/libavcodec/bsf/noise.c b/libavcodec/bsf/noise.c
index a622855717..d36be5fab4 100644
--- a/libavcodec/bsf/noise.c
+++ b/libavcodec/bsf/noise.c
@@ -173,7 +173,7 @@  static int noise(AVBSFContext *ctx, AVPacket *pkt)
         drop = !(s->state % s->dropamount);
     }
 
-    av_log(ctx, AV_LOG_VERBOSE, "Stream #%d packet %d pts %"PRId64" - amount %d drop %d\n",
+    av_log(ctx, AV_LOG_VERBOSE, "Stream #%d packet %u pts %"PRId64" - amount %d drop %d\n",
            pkt->stream_index, (unsigned int)s->var_values[VAR_N], pkt->pts, amount, drop);
 
     if (drop) {