From patchwork Thu Feb 25 16:35:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 25990 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 CE77A44B5EB for ; Thu, 25 Feb 2021 18:40:11 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 96386689DC3; Thu, 25 Feb 2021 18:40:11 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 150FF689D57 for ; Thu, 25 Feb 2021 18:40:06 +0200 (EET) Received: by mail-wm1-f48.google.com with SMTP id i9so4862045wml.0 for ; Thu, 25 Feb 2021 08:40:06 -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:mime-version :content-transfer-encoding; bh=mWk/dpkrpJ7zdKgPr+kcsUzNwZclqckKEADZAv3UMRg=; b=j6k9OREh+wLY4bBbuD7by4VfpyR7R/B3SZ/ggHprk1lmy/7LwMM6z13AbgCnXvH22E dbvolaND6ipb7vIOo3ARrq9ZZ/1bWaciLjQf1aiWTG4wNv5ZFsrXBbpsxf9ZCpVmiAeG xXzDjKGCE5O3qMD7zrkGlNebY0ujQyShkXXijdEL/cGuahgvydIso4L+rCNnNxWoy1ll p0hmZf0YLxJkQbrJvOo8LJTYrl8920A8DwI+GlSHkO7ugaavy2rSVpO7Fb/Zxq7DZyaF 7eP6VXGQ9hF3abIEe96BAnacixtNF4AWWQI2wFrMNL4YZn1lPscrSyNWG3m464kB5dlO thcA== 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:mime-version :content-transfer-encoding; bh=mWk/dpkrpJ7zdKgPr+kcsUzNwZclqckKEADZAv3UMRg=; b=GWqijLtVJqhR8hbM+wWoe/uFthCS3/5He6eJ1rxk3s3qX9QUweq87vRmDV3q9yRHvf 96VVX3fFuXqmJx1gaUsA6Zuivqoh5BYcueoSbkMT5q9evE3QNHVrfds82SMLb7/L559e x1hacVY+rz3WqhIawD5NcasXCQlNsQfclqjrbJwk21scu3YNvxyMAaENnD7iv54mq1kW YR4ZcoQmpOphzPFEx947wGCZBS2DN2EcmSxFfW0yRQfn2IBq9qb2wHdo3YbgNR7dJ+xz ezy6MMpwCZyGTY6m5sFXh3Z1jqUWg6vys9r/MY/jSqo9iz6NsLNkeYoGvdjJSQziCPyM OZKQ== X-Gm-Message-State: AOAM531MD84j9tzXzRqBH8nF9mj88D9JPsAghA2KVNWPfjYlj/pizDgL vm505E5DWZ0F2PIslSWZiDQ62ey8kSs= X-Google-Smtp-Source: ABdhPJylIf+yfb/FoQFq1Eyl3HRd3Pux2RJndRHpCrOWynF6wF8a9nuBEO2EOGiQW5ceNBHTxZ/QCw== X-Received: by 2002:a05:600c:358d:: with SMTP id p13mr4168612wmq.152.1614271205248; Thu, 25 Feb 2021 08:40:05 -0800 (PST) Received: from sblaptop.fritz.box (ipbcc1aa4b.dynamic.kabel-deutschland.de. [188.193.170.75]) by smtp.gmail.com with ESMTPSA id y18sm8848007wrq.61.2021.02.25.08.40.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Feb 2021 08:40:04 -0800 (PST) From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Thu, 25 Feb 2021 17:35:39 +0100 Message-Id: <20210225163539.1373683-1-andreas.rheinhardt@gmail.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] avfilter/lavfutils.h: Don't include avformat.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" Only lavfutils.c needs avformat.h, not lavfutils.h. Signed-off-by: Andreas Rheinhardt --- libavfilter/lavfutils.c | 1 + libavfilter/lavfutils.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libavfilter/lavfutils.c b/libavfilter/lavfutils.c index f8f8415c80..34051ee61d 100644 --- a/libavfilter/lavfutils.c +++ b/libavfilter/lavfutils.c @@ -19,6 +19,7 @@ */ #include "libavutil/imgutils.h" +#include "libavformat/avformat.h" #include "lavfutils.h" int ff_load_image(uint8_t *data[4], int linesize[4], diff --git a/libavfilter/lavfutils.h b/libavfilter/lavfutils.h index 2d5308f79c..96738cead1 100644 --- a/libavfilter/lavfutils.h +++ b/libavfilter/lavfutils.h @@ -24,7 +24,8 @@ #ifndef AVFILTER_LAVFUTILS_H #define AVFILTER_LAVFUTILS_H -#include "libavformat/avformat.h" +#include +#include "libavutil/pixfmt.h" /** * Load image from filename and put the resulting image in data.