From patchwork Fri May 21 18:00:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 27898 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a6b:b214:0:0:0:0:0 with SMTP id b20csp744569iof; Fri, 21 May 2021 11:03:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbIHBtIJ5cYdI3/4Jm/5zPcurQ/qAUwmANXb/rgjOEWOaPoxx2/Kih7Dlq0DupYWTZ1rYr X-Received: by 2002:aa7:dd41:: with SMTP id o1mr12219881edw.361.1621620206208; Fri, 21 May 2021 11:03:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621620206; cv=none; d=google.com; s=arc-20160816; b=pV6cCPJ79/ATlkpxXwkEEiN5DOSLp/m8+4u9LVFrOGwnwzSpaL+Rv9FXCL1T2RwxOG /7tqpy1WtKEMSM72KcE7agANmczwES+KxdZ5+Gpx31FwYw0yw+NzcXk9D1CAaOJ9OfiK 508Va0E4QJO7tYqv5faJuJDAkNvPKkccaWE/6V99xnooxTYiWfwr4NYz90dZiXAPYybU Fq3vJ0zsfv7jT0VZ97YvqrHk4IajIQP1dJ5EiviIs4QaiPM6O/yCva9QW9h6Cgs2SIT+ T3/hRX6nAaZzabJcmr/4BlUO9DFE4KjlSz5sMyDwfwGlRySzOgE3carCc4GFi2RkgMZ7 8bBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:delivered-to; bh=/MpikRXqpgpR/akbwBIQeBrOxvYG+moPfLm7MACTV48=; b=rZlQP/UD5JRMqWV2NtWDY/lqOP432PDjKwAcDNFeC3wfzyuyJe1K3lCHiZt/lyc/gH +Fbsc+y7qPmg5g9tX8YkC0Cs/JsN7HgBUIbdj0UsCCZE+UtL4lt66Jw68c4IoTSGYEfv a01uCwnKebGyQtSVKChLrUoBWP8T99RoxLXmRMHcVvfHJbIkV+5adrL5vMxPGKCakHsU eF8iaZo3/ef1s6ICdGhCxLTv8MBO0ZQgCNHBvF+EdkkaSNcBoxjnhz9iNwYE3c8At9r/ Ov9XkIWUaD2jSRVgWor7qpwkZX/92GgAIGAuYoTVpRsCx70y2KVo/wioDx43NNHdO0Dl JIxA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id jz1si6228829ejb.461.2021.05.21.11.03.24; Fri, 21 May 2021 11:03:26 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 28BCA689966; Fri, 21 May 2021 21:01:28 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7E98568993B for ; Fri, 21 May 2021 21:01:18 +0300 (EEST) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 05193240699 for ; Fri, 21 May 2021 20:01:17 +0200 (CEST) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id t-W4pp8nEm1e for ; Fri, 21 May 2021 20:01:16 +0200 (CEST) Received: from libav.khirnov.net (unknown [IPv6:2a00:c500:561:201:5fb8:4bfe:b578:641e]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "libav.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail0.khirnov.net (Postfix) with ESMTPS id 2A26624069D for ; Fri, 21 May 2021 20:01:10 +0200 (CEST) Received: by libav.khirnov.net (Postfix, from userid 1000) id 0C66F3A177F; Fri, 21 May 2021 20:01:07 +0200 (CEST) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Fri, 21 May 2021 20:00:47 +0200 Message-Id: <20210521180056.17496-16-anton@khirnov.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210521180056.17496-1-anton@khirnov.net> References: <20210521180056.17496-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 16/25] lavf/avformat.h: drop the avcodec.h include 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: kXGjDtVyxcR8 Since AVStream.codec is gone, avformat.h does not require anything from avcodec.h. --- libavformat/avformat.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index a28ac372da..92807e9657 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -309,7 +309,12 @@ #include #include /* FILE */ -#include "libavcodec/avcodec.h" + +#include "libavcodec/codec.h" +#include "libavcodec/codec_par.h" +#include "libavcodec/defs.h" +#include "libavcodec/packet.h" + #include "libavutil/dict.h" #include "libavutil/log.h"