From patchwork Sat Jan 30 04:44:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 25267 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 837DF445512 for ; Sat, 30 Jan 2021 06:45:04 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6788968A877; Sat, 30 Jan 2021 06:45:04 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A659368A880 for ; Sat, 30 Jan 2021 06:44:55 +0200 (EET) Received: by mail-wr1-f51.google.com with SMTP id q7so10797059wre.13 for ; Fri, 29 Jan 2021 20:44:55 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=H7yVYVGK1pBHH4EOEiPbWcow4aF2Du9Jlicfk9Yh67c=; b=izwG8aqzV17VwUP5XJIxh0059t37+21Is9VgDaIwEleu7IID8ppREMthIn9GkMtIHi yPW/y0n7LPX85gtgcUDc/iNfMKc9eIGI2SMBuP4CeIPjg7BVeqXpHrgOTWcWkdGv4ZlX FLeOdY9FYmaDqBoz8CJU/d6M9Z9WA7byVKqhV1aLk13VLHYdudfjFqEsNKnme+RjxcUU GDO3iD0GbXS129t3Kq3dLoacxtyk06fPmtnkQlK0WQEqoWdHPBNBvqH5+h0FlwLLoCqP mSU+fV01X/DNAYpbhgbqfl1hKmim4X/7mhHWohrVgr5Ze3/1fuBedt71x2sOZ73g/UY9 Brfw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=H7yVYVGK1pBHH4EOEiPbWcow4aF2Du9Jlicfk9Yh67c=; b=I4vPoxeQjxnCmgsppil2xr2VzBlz9Sk0N4QdoPz7kWFFQ3aS51e6zZENtaLQbNRSK4 bb5su3Ab92NPp3LiECxyvZk1iceNhiWfKrLGyVh7E7BTS+sK38vZjxh8zPWwHE0UII7/ l9FPZ3/E6MK2AbJgmM3Cm8K1LaoZkeY5znlUw2HOvLFqRiyZteLDOABsQxglUIAAqClD QtrGeoLZF9R3HEDve7i14FqBLfcOE6lQSxncyiq4CE1GtUE+/zonDiXKcMLVILFEUmlX WHVgjI0N/juHlDGIgtqtk9FPkgsKZttRr+DmzM8xSNuhGpdVI0MkUJAADizDED2rrh/p kHgg== X-Gm-Message-State: AOAM530GzZtQN1bBPWAOJwES+wLgK/Xvq7ZB4Tgw6VRq+JH0ESDgHB8C /QlipWT08Jgm/j106H26LPmZNe5exQ4= X-Google-Smtp-Source: ABdhPJxIfwdqBK4kUu9tepOx2MZP9aq+byFhddChoMRVsbZA9HC4ZTtD4GkJiMGqavvCSfaE3elFvg== X-Received: by 2002:adf:eed0:: with SMTP id a16mr7593751wrp.107.1611981895034; Fri, 29 Jan 2021 20:44:55 -0800 (PST) Received: from sblaptop.fritz.box (ipbcc1aa4b.dynamic.kabel-deutschland.de. [188.193.170.75]) by smtp.gmail.com with ESMTPSA id u6sm16459025wro.75.2021.01.29.20.44.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Jan 2021 20:44:54 -0800 (PST) From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Sat, 30 Jan 2021 05:44:23 +0100 Message-Id: <20210130044424.3677308-5-andreas.rheinhardt@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210130044424.3677308-1-andreas.rheinhardt@gmail.com> References: <20210130044424.3677308-1-andreas.rheinhardt@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 5/6] avformat/qtpalette: Use better headers 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" Signed-off-by: Andreas Rheinhardt --- libavformat/qtpalette.c | 3 ++- libavformat/qtpalette.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libavformat/qtpalette.c b/libavformat/qtpalette.c index 2ac079a23c..9bcc3c6c38 100644 --- a/libavformat/qtpalette.c +++ b/libavformat/qtpalette.c @@ -24,8 +24,9 @@ #include #include -#include "avformat.h" #include "libavutil/intreadwrite.h" +#include "libavcodec/codec_id.h" +#include "avio.h" #include "qtpalette.h" static const uint8_t qt_default_palette_2[2 * 3] = { diff --git a/libavformat/qtpalette.h b/libavformat/qtpalette.h index 03c0154945..18a108ebaf 100644 --- a/libavformat/qtpalette.h +++ b/libavformat/qtpalette.h @@ -24,7 +24,7 @@ #define AVFORMAT_QTPALETTE_H #include -#include "avformat.h" +#include "avio.h" /** * Retrieve the palette (or "color table" in QuickTime terms), either