From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ffmpeg-devel-bounces@ffmpeg.org>
Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100])
	by master.gitmailbox.com (Postfix) with ESMTP id 934E5441CA
	for <ffmpegdev@gitmailbox.com>; Thu,  1 Dec 2022 08:15:37 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 067D568B834;
	Thu,  1 Dec 2022 10:15:01 +0200 (EET)
Received: from mga18.intel.com (mga18.intel.com [134.134.136.126])
 by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E586F68B9E8
 for <ffmpeg-devel@ffmpeg.org>; Thu,  1 Dec 2022 10:14:53 +0200 (EET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
 d=intel.com; i=@intel.com; q=dns/txt; s=Intel;
 t=1669882499; x=1701418499;
 h=from:to:cc:subject:date:message-id:in-reply-to:
 references:mime-version:content-transfer-encoding;
 bh=RzgeT27PLmco4fUtOCQPH5gyzkPiewt4BvWtHoO78Fw=;
 b=V5/MF90DuBbr5yhz6FlCd7S78eecz04PysOH/C+qYSOMYag305pApGhE
 k3xiAf19HsxyfJ/GTfzlqP5UnEso999zognIEL2ErTkbGQZ41nBC4g/qs
 ND13jmOfq/Hej4uZ97MzZPbsXxqLeKLrmeYQbWX5dS5Qused9+bkx2ljs
 Bod6wrAUyuCC220s1Ch8WBx3ufmMLj1VDARALAoCY48iEsN1UC+ulot1I
 BOHbP07tyEDAy/qM9CzVXSvUxrCgM0zGOyaInNmhbQPEBXGTV4/y5hVP4
 ONQ06qvFTq/ULN7StGCszyV6AzGnBLgCnsXhBkix0uoqIfNqjGZBn6eAH A==;
X-IronPort-AV: E=McAfee;i="6500,9779,10547"; a="298989838"
X-IronPort-AV: E=Sophos;i="5.96,207,1665471600"; d="scan'208";a="298989838"
Received: from orsmga008.jf.intel.com ([10.7.209.65])
 by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 01 Dec 2022 00:14:49 -0800
X-ExtLoop1: 1
X-IronPort-AV: E=McAfee;i="6500,9779,10547"; a="675341750"
X-IronPort-AV: E=Sophos;i="5.96,207,1665471600"; d="scan'208";a="675341750"
Received: from t.sh.intel.com ([10.239.159.159])
 by orsmga008.jf.intel.com with ESMTP; 01 Dec 2022 00:14:47 -0800
From: Fei Wang <fei.w.wang-at-intel.com@ffmpeg.org>
To: ffmpeg-devel@ffmpeg.org
Date: Thu,  1 Dec 2022 16:14:01 +0800
Message-Id: <20221201081408.2194579-6-fei.w.wang@intel.com>
X-Mailer: git-send-email 2.25.1
In-Reply-To: <20221201081408.2194579-1-fei.w.wang@intel.com>
References: <20221201081408.2194579-1-fei.w.wang@intel.com>
MIME-Version: 1.0
Subject: [FFmpeg-devel] [PATCH v1 06/13] lavc/hevcdec: Set
 max_num_merge_cand to uint8_t
X-BeenThere: ffmpeg-devel@ffmpeg.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org>
List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe>
List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel>
List-Post: <mailto:ffmpeg-devel@ffmpeg.org>
List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help>
List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe>
Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Cc: Linjie Fu <linjie.justin.fu@gmail.com>, Fei Wang <fei.w.wang@intel.com>,
 Linjie Fu <linjie.fu@intel.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ffmpeg-devel-bounces@ffmpeg.org
Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org>
Archived-At: <https://master.gitmailbox.com/ffmpegdev/20221201081408.2194579-6-fei.w.wang@intel.com/>
List-Archive: <https://master.gitmailbox.com/ffmpegdev/>
List-Post: <mailto:ffmpegdev@gitmailbox.com>

From: Linjie Fu <linjie.fu@intel.com>

uint8_t is big enough and keep consistent with the definition in
cbs_h265.h.

Signed-off-by: Linjie Fu <linjie.justin.fu@gmail.com>
Signed-off-by: Fei Wang <fei.w.wang@intel.com>
---
 libavcodec/hevcdec.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/hevcdec.h b/libavcodec/hevcdec.h
index a7fc669bcb..aab816791e 100644
--- a/libavcodec/hevcdec.h
+++ b/libavcodec/hevcdec.h
@@ -304,7 +304,7 @@ typedef struct SliceHeader {
     int beta_offset;    ///< beta_offset_div2 * 2
     int tc_offset;      ///< tc_offset_div2 * 2
 
-    unsigned int max_num_merge_cand; ///< 5 - 5_minus_max_num_merge_cand
+    uint8_t max_num_merge_cand; ///< 5 - 5_minus_max_num_merge_cand
     uint8_t use_integer_mv_flag;
 
     unsigned *entry_point_offset;
-- 
2.25.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".