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 80D044AAD0 for ; Thu, 11 Jul 2024 23:36:20 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1017F68DBFB; Fri, 12 Jul 2024 02:34:41 +0300 (EEST) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 974BE68DB54 for ; Fri, 12 Jul 2024 02:34:30 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id DAAB7E0004 for ; Thu, 11 Jul 2024 23:34:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1720740870; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=v2ng4TF0xJqjqsBCNUOS2m0jvl5M3qtuF+VCdhi2DiQ=; b=PGM+c4adOvzC+6b/r3Q8Bn1TmdzRelikmeXOUrEuJ1E22/KfHG/sK+FwIr1BYJLpPZAVCB VPs1Pxh/fDh1Rx0g/MHuL72Ivhc6FAzdOKa7Ab8f+ZZYbA03PLjpqjGWDn5scP44ccvLB9 AW21VLS770Zelm24/YFl7hJ0cGXb57AUIhgpAx1ZvP6KO7+8peVt7wXOIdy3TqaPOZjaHG P80MgAX1kyV85Wsf+dRlaghdHU3h0zXPFy3qDtDprhWmAM6eYUlHLiYcn23UzQXXMhG246 2rIOyj4Co0xzpEXcIsqJ3OiLFM0x3h6RmaQ6yH2CYbB921KXqrEHnmgrQx+9cw== From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Fri, 12 Jul 2024 01:34:09 +0200 Message-ID: <20240711233417.1896879-15-michael@niedermayer.cc> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240711233417.1896879-1-michael@niedermayer.cc> References: <20240711233417.1896879-1-michael@niedermayer.cc> MIME-Version: 1.0 X-GND-Sasl: michael@niedermayer.cc Subject: [FFmpeg-devel] [PATCH 15/22] avformat/ty: rec_size seems to only need 32bit 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: May help CID1604560 Overflowed integer argument Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavformat/ty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/ty.c b/libavformat/ty.c index ac3b9071fca..f524b74badc 100644 --- a/libavformat/ty.c +++ b/libavformat/ty.c @@ -49,7 +49,7 @@ static const uint8_t ty_AC3AudioPacket[] = { 0x00, 0x00, 0x01, 0xbd }; #define CHUNK_PEEK_COUNT 3 /* number of chunks to probe */ typedef struct TyRecHdr { - int64_t rec_size; + int32_t rec_size; uint8_t ex[2]; uint8_t rec_type; uint8_t subrec_type; -- 2.45.2 _______________________________________________ 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".