From patchwork Wed Jan 6 23:13:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 24812 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 20DEC44A498 for ; Thu, 7 Jan 2021 01:13:34 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D6596689F89; Thu, 7 Jan 2021 01:13:33 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7B1E6687FD3 for ; Thu, 7 Jan 2021 01:13:26 +0200 (EET) Received: by mail-ed1-f49.google.com with SMTP id i24so5917562edj.8 for ; Wed, 06 Jan 2021 15:13:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:reply-to:mime-version :content-transfer-encoding; bh=DWcTKYgERCDWpLgw2a2SISiyybGAh9RxmSglPGaZeG4=; b=pcmRB+cXE8NU2uaThqL9TW8Z+XssOtWBiRiSP0L4toqVbdJgiuT9NNxaN38/GWf4MO +wKuYDCjMHRZu+6LHjVhjTcinRjDf5Zy/ADQWFFYhy9L5LgkGjfhBY1EtmtFz8koPXqe tjvPEMKjd/JXp2fJdMoL9QCTZsJ78Qg+L5RnuqRTvLmmz7y98ehYDuLcYgbJjSPQog5t h51OdCOLpVSnKtABoxS6kecoEtzkcsZ5luHRqZUaCm/K3KmDQOmk2rDZL9cm56E6WDjS rhQvg5eR+lzkyc2u7zTQFHFgOxV7904V8ku3SNdpJ6P/pFeKUlNOH3hfn+gkKlAklTZd EUqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :mime-version:content-transfer-encoding; bh=DWcTKYgERCDWpLgw2a2SISiyybGAh9RxmSglPGaZeG4=; b=YLU1qEgVwDxf9oSoWpDDqHDyQHlCkv1U796hei9l1H/5OvOEet1aoHlTknevvPkP6j h+1FvBeT/kvhpVuwn0TS6RZQe2uVokIbGKzq6uT0iX2UtcxNaqtlFjgQ6D8IAsW3HZNO ph4rSZvjgMQXPo5N2FGU4kaxGuGdoaNU/ZVPBY8bRPLAlYZNvAsv739mGqRc1BgUOxgF xPV9WrmDDGzWYYGO/sSzSBOGkJqZwnfIg0wb3JYnn77I1wvL3z9/f6xebfIMA9vkwKwE cG7l0ZqEtTDL+xMrHpRgPIk1wn1Qx2/cRYQNf1sTZCRTb0NdeTimoADwKWrnSvmEgwSE NQZA== X-Gm-Message-State: AOAM532kPKVx04we6ZmW6mqU0FHolhljqPy4v2i8tOKYR5k8qcfB9/xd PbJozIz7LZwd4TuOYo1lDerQZkiahng= X-Google-Smtp-Source: ABdhPJyQkspsxOuQfwnUkknqxQuVkLlnWuyULmoUmeb8L/lM7iVchuXOPL/RYA7fa7Zu8LxOZSJ9Dw== X-Received: by 2002:a50:b742:: with SMTP id g60mr5398350ede.113.1609974805642; Wed, 06 Jan 2021 15:13:25 -0800 (PST) Received: from sblaptop.fritz.box (ipbcc1aa4b.dynamic.kabel-deutschland.de. [188.193.170.75]) by smtp.gmail.com with ESMTPSA id b7sm1794295ejz.4.2021.01.06.15.13.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 15:13:24 -0800 (PST) From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Thu, 7 Jan 2021 00:13:04 +0100 Message-Id: <20210106231308.2952217-1-andreas.rheinhardt@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/5] avcodec/tableprint: Don't include mem_internal.h X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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: Andreas Rheinhardt Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" tableprint.h does not declare anything as aligned; it just prints DECLARE_ALIGNED. So it can be removed; in fact, it needs to be removed, because mem_internal.h includes config.h which leads to warnings when building with hardcoded tables enabled because of redefinitions of CONFIG_HARDCODED_TABLES. (Furthermore, config.h is only valid for the target, not the host, so HAVE_LOCAL_ALIGNED might even be wrong here.) Signed-off-by: Andreas Rheinhardt --- libavcodec/tableprint.h | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/tableprint.h b/libavcodec/tableprint.h index e57eeb6ca6..6f61c7124b 100644 --- a/libavcodec/tableprint.h +++ b/libavcodec/tableprint.h @@ -27,7 +27,6 @@ #include #include "libavutil/common.h" -#include "libavutil/mem_internal.h" #define WRITE_1D_FUNC_ARGV(type, linebrk, fmtstr, ...)\ void write_##type##_array(const type *data, int len)\