From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 25DA94084D for ; Tue, 1 Feb 2022 01:58:08 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D365868B1CE; Tue, 1 Feb 2022 03:57:49 +0200 (EET) Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com [209.85.210.42]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4A7BC68AFC9 for ; Tue, 1 Feb 2022 03:57:43 +0200 (EET) Received: by mail-ot1-f42.google.com with SMTP id e21-20020a9d0195000000b005a3cd7c1e09so8085554ote.6 for ; Mon, 31 Jan 2022 17:57:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=MYS7uAzGsO/o96CeTtpzaN08cM1qfrNo4iEZLmplT2c=; b=kAem3pbuAbYJ5gb5y1Q7V3ly/cJNQx4GE1nV+fHcmwNDMI1VLj4jKf+eHYNFILOxv+ V0RuNysXPPtUWVPQybn/j4rWbQTA96q3uMzEERuWHT1O2g40aYMG31NdIw1LWtetJ3wt dQNonduwaI0J+Av3aNAQiTvNt/ch1Xs1Jy5eT8zmyFdUQnjDQbSsICKLlnTYWiMIf/7g uACcpWmuNC75SiOPWSPgUF4hcR5i6PEe0vsciA5gSfcDkX4ffq8CzPeAfi5B9NG6uEcj aORj4Ke/7XPGY1Zkk8iPFjDrcbYipYuefv07UFHGC+ILbUNzvgprVNbAcZQKL6VsX4eP fU9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MYS7uAzGsO/o96CeTtpzaN08cM1qfrNo4iEZLmplT2c=; b=wZtgriW1wcid8/Hr9m0KG7HkpNWO3ZX6+g9VwAcqrN5nKBNAPMQAzqr2aTgI5XaaCW lo2jcIjpgQMYuvhDhTDQ87fyyAEFA8I7aHKl+bIo1D+bUGqYbzNouQYLR3VGjADu/RE4 xSaLohIumMaW+6CAwE9Urodh1e/t85kBXS+KE51rrZisXtwcxRTQuPnfP+uk3j8V80E6 m544VxKa8M5DV8rwkJDwLT0q4Cf4WWa8K7ONnBVKCpqbNT+NAGnI/RaxEcd2Zm4suJ2T tae7B+tN8r8hgZIkkfkX/65e34Bvmp+kvipTNCTwKMU98RIuoiAYNNAyJgN2Eun5ZyJB tRgA== X-Gm-Message-State: AOAM530701gabbUwMTvjwruir/UEnk9p+loKki0Hcw/qs9/wjM0rUIqz DYwla6CDXV2IcsXxDnBpDmwUMGRIz0I= X-Google-Smtp-Source: ABdhPJwnsdtWZ46NHWhqmtIEoDCRJ/GIQHDOy+5BMO0wReykpblv+VNQ5UM8P3VJCoV5VkrfWc6F8Q== X-Received: by 2002:a9d:7518:: with SMTP id r24mr13395146otk.97.1643680661783; Mon, 31 Jan 2022 17:57:41 -0800 (PST) Received: from localhost.localdomain ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id x1sm10811532oto.38.2022.01.31.17.57.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jan 2022 17:57:41 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Mon, 31 Jan 2022 22:56:47 -0300 Message-Id: <20220201015648.2086-3-jamrial@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220201015648.2086-1-jamrial@gmail.com> References: <20220201015648.2086-1-jamrial@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 3/4] avformat/demux: print skip_samples and discard_padding as unsigned values in debug log X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: It's the type they should be interpreted as in the AV_PKT_DATA_SKIP_SAMPLES side data. Signed-off-by: James Almer --- libavformat/demux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/demux.c b/libavformat/demux.c index 09d539af68..4509015847 100644 --- a/libavformat/demux.c +++ b/libavformat/demux.c @@ -1360,7 +1360,8 @@ static int read_frame_internal(AVFormatContext *s, AVPacket *pkt) if (p) { AV_WL32(p, sti->skip_samples); AV_WL32(p + 4, discard_padding); - av_log(s, AV_LOG_DEBUG, "demuxer injecting skip %d / discard %d\n", sti->skip_samples, discard_padding); + av_log(s, AV_LOG_DEBUG, "demuxer injecting skip %u / discard %u\n", + (unsigned)sti->skip_samples, (unsigned)discard_padding); } sti->skip_samples = 0; } -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".