On 04/04/2017 17:47, Vittorio Giovara wrote:
> libavcodec/dnxhddec.c:134:55: warning: format
>       specifies type 'char' but the argument has type 'int' [-Wformat]
> ---
>  libavcodec/dnxhddec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c
> index fd58795de3..a6a65f0e75 100644
> --- a/libavcodec/dnxhddec.c
> +++ b/libavcodec/dnxhddec.c
> @@ -131,7 +131,7 @@ static int dnxhd_decode_header(DNXHDContext *ctx, AVFrame 
> *frame,
>          frame->interlaced_frame = 1;
>          frame->top_field_first  = first_field ^ ctx->cur_field;
>          av_log(ctx->avctx, AV_LOG_DEBUG,
> -               "interlaced %"PRId8", cur field %d\n", buf[5] & 3, 
> ctx->cur_field);
> +               "interlaced %"PRId32", cur field %d\n", buf[5] & 3, 
> ctx->cur_field);
>      }
>      ctx->mbaff = buf[0x6] & 32;
>  
> 

%d maybe?

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to