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 919254858D for ; Sat, 6 Jan 2024 19:38:53 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8A3FB68CC3E; Sat, 6 Jan 2024 21:38:51 +0200 (EET) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6E3DE68AF3B for ; Sat, 6 Jan 2024 21:38:45 +0200 (EET) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-6d9344f30caso409685b3a.1 for ; Sat, 06 Jan 2024 11:38:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704569922; x=1705174722; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=BNLIqulwlDKX/FP8E4XavsTg0E1ixjBRTtQblDx+Mns=; b=dKxLZ1V0PTOh4PJMU04uss2SJxQr7Zwrjlgxn3HUTSPjXQjjDR4OYL01Z506xEbKte KHMNx4jeue2VxmXXZzkjdODB3XhhwqFR+EZ4rWZ+QJLGJPBuO0LZxlV/chAXj5BhGFLM T009MhU4I/tUzERWQQ1CYGZ4J0Sx/h3Hge4VZGg2znqLh5XUdo2YmJP+PgWuZXQwSm7d kLMXVXFmT3SKzpiP+Vdo5LFLiZ2hd3ZDk02ZvSWQgE3ypmm4/DNJQCtKs2+fUNTyOjxC sLFqiiFewZefxaqP2frLgEEKLHwOSlNbpozbMpn4RIQxtQaEU+NsHczR/Qo44SXjx1Wz H1Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704569922; x=1705174722; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=BNLIqulwlDKX/FP8E4XavsTg0E1ixjBRTtQblDx+Mns=; b=DZncDUGER86a/6U5ZT98bi9D6bgzct1bKODx5wUQyifogJ9bB75n5xsDCI3O3A6oRg xy+QOFKk8znCrJNl5iiONobwcykeU7yhQ1h5ojK3jc3rkRJhaTKNuLvgO2CQ68DftTyJ nDq1PjC48FjUi2weT61unqRiVmT7pYnwa/aa7TnlUquLKtZqHUVKlJGUjnXmMjCgBTaZ ss5ojTAmUDGQgt+RjXm/EzC1eIh0Rceumqn0UyPLJfv1qK5xgCtXtUvr/Yeo8wd1P1zT dFGO7G5VujvlBUuBa1l2JJRw7HjC9pHRisqc4IpAFguI8T4NQc7Xw7wooNBFaLBKC0Gl Vx/g== X-Gm-Message-State: AOJu0YyAnlSj77g1yt+t4VghS3U4pydSV2LIq26i0Sr0JCr+61okM82j WZAVpsniwggvYFXF8a6j0cspG91Ika0= X-Google-Smtp-Source: AGHT+IEMN+CvA8VHkjBVrF7Ynko9FgdLg0SwoNVBwiDtQ2Em57FBBwW8vNcBX0ctrqoXd2PaTWyFJA== X-Received: by 2002:a05:6a21:998f:b0:199:7522:5973 with SMTP id ve15-20020a056a21998f00b0019975225973mr1188442pzb.56.1704569922374; Sat, 06 Jan 2024 11:38:42 -0800 (PST) Received: from localhost.localdomain (host197.190-225-105.telecom.net.ar. [190.225.105.197]) by smtp.gmail.com with ESMTPSA id o9-20020a629a09000000b006cdb17f9ffdsm3520677pfe.66.2024.01.06.11.38.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jan 2024 11:38:42 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Sat, 6 Jan 2024 16:38:29 -0300 Message-ID: <20240106193829.3166-1-jamrial@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] avcodec/vvc_thread: don't use an anonymous union 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: Should fix compilation with old GCC. Signed-off-by: James Almer --- libavcodec/vvc/vvc_thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/vvc/vvc_thread.c b/libavcodec/vvc/vvc_thread.c index db901585a4..31c931f050 100644 --- a/libavcodec/vvc/vvc_thread.c +++ b/libavcodec/vvc/vvc_thread.c @@ -54,7 +54,7 @@ typedef struct VVCTask { union { struct VVCTask *next; //for executor debug only AVTask task; - }; + } u; VVCTaskStage stage; @@ -107,7 +107,7 @@ static void add_task(VVCContext *s, VVCTask *t) atomic_fetch_add(&ft->nb_scheduled_tasks, 1); - av_executor_execute(s->executor, &t->task); + av_executor_execute(s->executor, &t->u.task); } static void task_init(VVCTask *t, VVCTaskStage stage, VVCFrameContext *fc, const int rx, const int ry) -- 2.43.0 _______________________________________________ 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".