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 0000742237 for ; Fri, 17 Dec 2021 00:12:47 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 14E3468AFE2; Fri, 17 Dec 2021 02:12:31 +0200 (EET) Received: from mail-io1-f51.google.com (mail-io1-f51.google.com [209.85.166.51]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 427E068AF91 for ; Fri, 17 Dec 2021 02:12:22 +0200 (EET) Received: by mail-io1-f51.google.com with SMTP id z18so730902iof.5 for ; Thu, 16 Dec 2021 16:12:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rcombs.me; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=HU/Ttpyc3aZRbCeM8Asb5VIbiEX9QZhtC3J3lPUFkZ8=; b=FU8sRaeVdSSfbwQ8QFKecjKPWobLhdDZK5d/V04EXwvVu3ShcVoc49D5NXGMQt4ZIj aNQO7EUoGQjtBuIE8YiorXp93QUQ8dYzCDA/pD5VME+GiRM5uOCn7eHrVdcWjwAVpfma /DFvsDJabe5Zly2Wxl1iAm9/LMB8Fbw1HjOnFUIe/tNA3L+P2LouOfLoR2MEEjwr7arC IYUqiCZC+9zLapLTBblLd4QKHa4AOWezn+z1uBEbm3yo7zk5BkVxefodxTlI93mrU5j7 88XsgYEgVb0fEqYaaImAu7W7a6N9aH8Ul+IhpxXg3MlTUfjA0lzGwuzSdbhhw6LLvgzr ePpg== 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=HU/Ttpyc3aZRbCeM8Asb5VIbiEX9QZhtC3J3lPUFkZ8=; b=wH/PKx1hlvM6+xZn0Qk7AqPbr+VaGyh6YO0AuIO4Xs+x13rUxb8FVqEEwigMXFAu1f G/QLoqsZ32Sp5biUhq3S4sA6aZfLeWdf7eMLTxknQxd7F8piFNXehSB5bAUA4K2/aqIP MMqp0KVLmLLGhpbn1IkbsX96+V5F6YpmkY3rtRifrxrzqgG7noXKaZDBAstp8sBvN5lm h0km+l6AtQahiuLPineXwoFUMNX58CrjA5nYQDvNuLrKjycOPDmj0RcXemwV3oGPuXj+ caJoglOlB/j+meXNOfaBEjw9dV+cOmrCaIwJR1dCxHvW2/a4IIvxokoLZCbP8rlr76fA cqrQ== X-Gm-Message-State: AOAM532ib0JGCQryqAXO9S7oqj5KG+7TC28f6J2WIpRR47cErkBlGNC2 DEeU8GeT8jcCpmShDFVJGipWSE/D2N7IFIo= X-Google-Smtp-Source: ABdhPJyLuE3+4ZagGmwHTp50ivwc2J8It5KrGi/D2DYbo5t6EDYNG2kZhAFAHC8biGGZ/ilvDBM7Ww== X-Received: by 2002:a05:6638:40ac:: with SMTP id m44mr262318jam.168.1639699940486; Thu, 16 Dec 2021 16:12:20 -0800 (PST) Received: from rcombs-mbp.localdomain ([2601:243:2000:5ac:1163:bda5:7473:fab3]) by smtp.gmail.com with ESMTPSA id z13sm1571257iln.43.2021.12.16.16.12.19 for (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 16 Dec 2021 16:12:20 -0800 (PST) From: rcombs To: ffmpeg-devel@ffmpeg.org Date: Thu, 16 Dec 2021 18:12:07 -0600 Message-Id: <20211217001215.75135-3-rcombs@rcombs.me> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211217001215.75135-1-rcombs@rcombs.me> References: <20211217001215.75135-1-rcombs@rcombs.me> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 02/10] lavc/videotoolboxenc: don't access int64_t member as int 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: --- libavcodec/videotoolboxenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index 1e7c164a97..9857e55fdc 100644 --- a/libavcodec/videotoolboxenc.c +++ b/libavcodec/videotoolboxenc.c @@ -2618,7 +2618,7 @@ static const enum AVPixelFormat hevc_pix_fmts[] = { #define OFFSET(x) offsetof(VTEncContext, x) static const AVOption h264_options[] = { - { "profile", "Profile", OFFSET(profile), AV_OPT_TYPE_INT, { .i64 = H264_PROF_AUTO }, H264_PROF_AUTO, H264_PROF_COUNT, VE, "profile" }, + { "profile", "Profile", OFFSET(profile), AV_OPT_TYPE_INT64, { .i64 = H264_PROF_AUTO }, H264_PROF_AUTO, H264_PROF_COUNT, VE, "profile" }, { "baseline", "Baseline Profile", 0, AV_OPT_TYPE_CONST, { .i64 = H264_PROF_BASELINE }, INT_MIN, INT_MAX, VE, "profile" }, { "main", "Main Profile", 0, AV_OPT_TYPE_CONST, { .i64 = H264_PROF_MAIN }, INT_MIN, INT_MAX, VE, "profile" }, { "high", "High Profile", 0, AV_OPT_TYPE_CONST, { .i64 = H264_PROF_HIGH }, INT_MIN, INT_MAX, VE, "profile" }, @@ -2672,7 +2672,7 @@ const AVCodec ff_h264_videotoolbox_encoder = { }; static const AVOption hevc_options[] = { - { "profile", "Profile", OFFSET(profile), AV_OPT_TYPE_INT, { .i64 = HEVC_PROF_AUTO }, HEVC_PROF_AUTO, HEVC_PROF_COUNT, VE, "profile" }, + { "profile", "Profile", OFFSET(profile), AV_OPT_TYPE_INT64, { .i64 = HEVC_PROF_AUTO }, HEVC_PROF_AUTO, HEVC_PROF_COUNT, VE, "profile" }, { "main", "Main Profile", 0, AV_OPT_TYPE_CONST, { .i64 = HEVC_PROF_MAIN }, INT_MIN, INT_MAX, VE, "profile" }, { "main10", "Main10 Profile", 0, AV_OPT_TYPE_CONST, { .i64 = HEVC_PROF_MAIN10 }, INT_MIN, INT_MAX, VE, "profile" }, -- 2.33.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".