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 ESMTPS id 0B1DD4CA77 for ; Tue, 11 Feb 2025 07:25:23 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id EC40968BD47; Tue, 11 Feb 2025 09:25:12 +0200 (EET) Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E16F168B9FD for ; Tue, 11 Feb 2025 09:25:00 +0200 (EET) Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-aaec111762bso1252824666b.2 for ; Mon, 10 Feb 2025 23:25:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739258700; x=1739863500; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=NWqRmjRha9eT0cZf1nDZhl7uNb8CisYdzCwrqntHc3s=; b=eM/iIt3nZrZL9BbzHbcukQHcVDGL565iUR+sZVPVKa4xwgaqMcm6D1c+KBCgCHhXN8 2oV5OGeZwAV6pm3VhFqNKIEU5zG6yvSJHw1jJf1VtpLnC8tPZJf4tOSyLL2Ebl4ngIHm j+fJb3C4PcZjRVj9GeSwbNGw5pihhUgjDRBuQBhFR4PCu7IhFMcLMWUu6ReuN+hOnXzP zodTZHyzAToHw95wao5IJbb3AQ6wr8uEvK8j3I+2yS60ektJGoo74kfOV2OMy77FQB+s m/nypojUbbg6YGObh2gTP79VES+TQ+uPG8aRZ4XNe7Vh22FE5IaXMQT4R6mNzJXGQ7/f ILNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739258700; x=1739863500; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NWqRmjRha9eT0cZf1nDZhl7uNb8CisYdzCwrqntHc3s=; b=lD0fLaG0CaXXWCEtrfZXdrTYHVCXSCdbIEsJCiB3FgkP56YmCgKx7HYqfQ0Llu4vSV tGg6WH0J/H1s5cSyD3oObbGoPywAjclSd40E+C9OeLgJSC9Wlyi3eYZd/8vhC5rUE1jW 4cAPLur+RwHaD0OV/S/pNGSwge6nRcQPFMZqfr7x/K3S0nF3nZvHUWTRGTLM3eDTh524 Mz2nSDrFpplDKD1iENrwuH5Qg42f8bgfVVCjJz/jlROJAWRnrs3aBcFLpo7bKDqBVJ2b topInNNztTfyTVlWzRVDdAvp9xpkoVT2+k5bFzUbTLliGsHQGQiu7T0uHyAJhqyArxe/ DeMQ== X-Gm-Message-State: AOJu0YxZvHiYz453cCR/fzciNhoNm14E1VkKk6CrFbs76R4PjA0iTI+C O2fdWVtR+aLAKDDvGvh4UEYWW4miottJxcCoykFNEmtora9dP2H35NifqQ== X-Gm-Gg: ASbGncvakHz38jGmEaXgZyM7CVN1qkCaYQX96QcTODhU6DK48atcup1HomATZ4vAGWT fjum0GfSTJq75us1XMXRPBZ/eN6wK7xHPGX4zswBsMfnBTdGsFocdqujDY8H6kEMiNE7KZkkIbr wT5CtLCFFLRd6Y2fpw52bAchT7YCqmQhskmLPHBFraeSfsHSL0sFZ5QM2SGct8Kh7XhSmwfUjmG tCqomGbnLTrFcqKyaQMNhaz4a5EAWxggFYrUIIulpOWQFwPFNesUw5J2yCjUQKQ+YaOtLg09rRg iSsvytDQgBrP0f4ftx7UIIEINjJuOWqHVNk3s0QaP2UOZH+f+Y29dStJOKH9pLfEp0Q0/JS/ZrI kMhwm09nMEHOID48OCoHKVxqVnQ== X-Google-Smtp-Source: AGHT+IFoq0iD2Rq8KSk00LuzfCaTRe87327tX2XGATsAYQVpabPhPd5M0KFhulzXWysQd3IWpyyZaA== X-Received: by 2002:a17:907:7e92:b0:aaf:c259:7f6 with SMTP id a640c23a62f3a-ab789c627e1mr1805008266b.45.1739258699948; Mon, 10 Feb 2025 23:24:59 -0800 (PST) Received: from flagship3.deu.mlau.at (p200300c0271f29004c5623f045c27bca.dip0.t-ipconnect.de. [2003:c0:271f:2900:4c56:23f0:45c2:7bca]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab7cbc313c5sm255326666b.150.2025.02.10.23.24.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Feb 2025 23:24:59 -0800 (PST) From: Manuel Lauss To: ffmpeg-devel@ffmpeg.org Date: Tue, 11 Feb 2025 08:24:48 +0100 Message-ID: <20250211072449.7100-2-manuel.lauss@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250211072449.7100-1-manuel.lauss@gmail.com> References: <20250211072449.7100-1-manuel.lauss@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2 2/3] avcodec/sanm: fobj left/top are signed 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 Cc: Manuel Lauss 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: The left and top parameters of an FOBJ are signed values. Signed-off-by: Manuel Lauss --- v2: no changes. libavcodec/sanm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/sanm.c b/libavcodec/sanm.c index a4f0a28c7c..71dbac4320 100644 --- a/libavcodec/sanm.c +++ b/libavcodec/sanm.c @@ -1238,8 +1238,8 @@ static int old_codec48(SANMVideoContext *ctx, int width, int height) static int process_frame_obj(SANMVideoContext *ctx) { uint16_t codec = bytestream2_get_le16u(&ctx->gb); - uint16_t left = bytestream2_get_le16u(&ctx->gb); - uint16_t top = bytestream2_get_le16u(&ctx->gb); + int16_t left = bytestream2_get_le16u(&ctx->gb); + int16_t top = bytestream2_get_le16u(&ctx->gb); uint16_t w = bytestream2_get_le16u(&ctx->gb); uint16_t h = bytestream2_get_le16u(&ctx->gb); -- 2.48.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".