From patchwork Wed Apr 1 14:55:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carl Eugen Hoyos X-Patchwork-Id: 18569 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 77F2F449E1C for ; Wed, 1 Apr 2020 17:55:39 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 554F268ABC4; Wed, 1 Apr 2020 17:55:39 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-il1-f182.google.com (mail-il1-f182.google.com [209.85.166.182]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E3C4368A9C9 for ; Wed, 1 Apr 2020 17:55:32 +0300 (EEST) Received: by mail-il1-f182.google.com with SMTP id g15so165519ilj.10 for ; Wed, 01 Apr 2020 07:55:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=30yHyzvEPClWyJ4bQoMW+T2Joyr0pWG44IcURqW6NOI=; b=ebL2SPIdbed0gHbqwGH1BnQ+a1JSrCXbiONdtnXZVP+0BQKAAyGwCErAV52uafi8t0 JGtL++awUOc3uXjukMLrr+C9ULGkqSUq8Rf7Cy40VJQ+MLNXtpIOhFPW8shCOjnxWKYd FmfkT5iUe6H9SibGyRxplVQI7c/yJT0FIFMiB7+AD0PzAbfHwJZMjLYWLuPRqs80j19h vIsnwDDFAc3eM8bhLCkq4nrnb0/8uhz9hgUlG0PgFs7Le5iXHUzCK/6cgCRgsYWbDr1A ILTvfnHdtVxk4Bqoopf4dEJ8yD/4wYj1p9ZHfougRfiGkbJ++qgUcgOmUnlK4+/m7g9p d8AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=30yHyzvEPClWyJ4bQoMW+T2Joyr0pWG44IcURqW6NOI=; b=MErMB23FdSxVGCG8lyEfyk40Fb/ZkT5gRRf1+LujQ7DiNUhsKIm1NoClpfbRuGTWhn kcbr9xAUWGEIzQ8JFzc+NTJFXSgqyMHnro2Qc0HJ0y7/ePie+uiKYUb1GPhvE8+mJByt ZTwomBWN5/6Pc6PYi2t/852EfRq5f5qG79LTVzJTotFd9IFwksfDCS4o9pgtImhS6UYW 0qNeVfZf4GtG0eJ7p8MZKduS9fw6yY2My5FCwb6OhOUffEUQl2eSqUnSd9JFWMGED9gr X4EqkNCoEIO94FKipKPyoF2UFo5/nAuDbZBjLXqeCioMgjTa6cNe0nsfUV9cMf+aLFQS UO3g== X-Gm-Message-State: ANhLgQ1f3GsQVB7c3Ca9Q23c5XPWNxVfhXRkhuqYWvaCdmtqSkJzQ+Xy Y75/1aC+pWnryxP3NyNL/csiKJf/NKtaxd0oP0eStA== X-Google-Smtp-Source: ADFU+vv5hT8ey0S5ysnA96fZChG5NuX/XH+ay7Hsv93N783H+7KKh/vKinuDdawJ3FHj8hk9Jf4MyaR4hH+d0VWIC1U= X-Received: by 2002:a92:c00c:: with SMTP id q12mr21675516ild.125.1585752931346; Wed, 01 Apr 2020 07:55:31 -0700 (PDT) MIME-Version: 1.0 From: Carl Eugen Hoyos Date: Wed, 1 Apr 2020 16:55:20 +0200 Message-ID: To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] [PATCH]qsv: Fix format specifiers for int variables X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Hi! Attached patches fix three wrong format specifiers, the variables are all of type int but the specifier PRId16 is used. Please comment, Carl Eugen From e4413d70d35348d46542890270ce3e2019309ba2 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Wed, 1 Apr 2020 16:52:19 +0200 Subject: [PATCH] lavc/qsvenc: Fix format specifiers for two variables of type int. --- libavcodec/qsvenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index 52b4e43979..afab8fd715 100644 --- a/libavcodec/qsvenc.c +++ b/libavcodec/qsvenc.c @@ -218,9 +218,9 @@ static void dump_video_param(AVCodecContext *avctx, QSVEncContext *q, "RecoveryPointSEI: %s IntRefType: %"PRIu16"; IntRefCycleSize: %"PRIu16"; IntRefQPDelta: %"PRId16"\n", print_threestate(co->RecoveryPointSEI), co2->IntRefType, co2->IntRefCycleSize, co2->IntRefQPDelta); - av_log(avctx, AV_LOG_VERBOSE, "MaxFrameSize: %"PRIu16"; ", co2->MaxFrameSize); + av_log(avctx, AV_LOG_VERBOSE, "MaxFrameSize: %d; ", co2->MaxFrameSize); #if QSV_HAVE_MAX_SLICE_SIZE - av_log(avctx, AV_LOG_VERBOSE, "MaxSliceSize: %"PRIu16"; ", co2->MaxSliceSize); + av_log(avctx, AV_LOG_VERBOSE, "MaxSliceSize: %d; ", co2->MaxSliceSize); #endif av_log(avctx, AV_LOG_VERBOSE, "\n"); -- 2.24.1