From patchwork Fri May 21 18:00:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 27896 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a6b:b214:0:0:0:0:0 with SMTP id b20csp744854iof; Fri, 21 May 2021 11:03:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+ByMJw69EYtL7h32Mk3vdhax+oZjnLKnsFt1Cg7oCwdt1EVzOFGKLJRnX8O19X+zKd1lH X-Received: by 2002:aa7:d598:: with SMTP id r24mr12748762edq.250.1621620228955; Fri, 21 May 2021 11:03:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621620228; cv=none; d=google.com; s=arc-20160816; b=eERC5c62N+/rbaqCnPHGgFli8tkNz//9CSv8sJJRo6MsLcwGvUGmjkQTgYZail84i5 EiTjNfdiC+0NnxwOhmtUdzT4ekdJLgDBYfw9syxsA1xU7eSbCQRBEM79mGIn2f+K6BHe e9J7tMmucygAqbkJrXiEKvDPFcNdILhz3yiPMxWztYxul8WhvVUuPbSNbcPZkU0JZVm3 DhBm4fAFEVFqJV1/2xZAQhJ96iKT+GcplPOL37VYx+TW2gJZhQjuUaztZwBB0XYUftYE zpM+XjRf2ZcV5MRxceHHJ/kRQfd9rWFXVNA67+b+MhxpzcUFkEgBuEMBiZ5aDDPfsi+J 2+cA== 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=Es4uR6xnq/WOlkCJdyU5kAwZrTN7kHoUqzPPRY/N998=; b=sgGBtixVd06Y8H+tO4UL97inDNCOqDShO+8fn4lsB/LpXp1RUCobjPKRAizv/Db26/ 7MlXvbqOa1MFyEEtStdBagHDeJ4XDCB+tp6TMVtOy9yG2cqoFopJU/R3QaSqsQvh/2rn m05FXHlKksDBR3pHrmZSQqalL1MrBDmXB+5vZ2Su9GmtLJn3GN+l6ZbxEl4SU6+AxXBX qNy/rmOFS108HX3vl9U2QUa7WwS1HiFliLgGY8HrreU+vm0TPNCj3PHBoCnA+KqBsq9W +5ix+G4HIlsZq1I1ofEvPrBMWsaspsPBOfHdV+qXWidSdLw1bXw6fnJhvD9Mk6lFqPxa bU2g== 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 e14si4646764edz.297.2021.05.21.11.03.47; Fri, 21 May 2021 11:03:48 -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 E5231689DAB; Fri, 21 May 2021 21:01:29 +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 821B4680725 for ; Fri, 21 May 2021 21:01:18 +0300 (EEST) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 8623924069D 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 XFVxYYiH9P6Q for ; Fri, 21 May 2021 20:01:17 +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 2BFB524069F for ; Fri, 21 May 2021 20:01:10 +0200 (CEST) Received: by libav.khirnov.net (Postfix, from userid 1000) id 184813A1853; Fri, 21 May 2021 20:01:07 +0200 (CEST) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Fri, 21 May 2021 20:00:50 +0200 Message-Id: <20210521180056.17496-19-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 19/25] lavf/framecrcenc: avoid avcodec.h dependency 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: HJqo+PBK+PSm --- libavformat/framecrcenc.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavformat/framecrcenc.c b/libavformat/framecrcenc.c index c300702d55..56f7ea1b5a 100644 --- a/libavformat/framecrcenc.c +++ b/libavformat/framecrcenc.c @@ -22,7 +22,11 @@ #include #include "libavutil/adler32.h" -#include "libavcodec/avcodec.h" + +#include "libavcodec/codec_id.h" +#include "libavcodec/codec_par.h" +#include "libavcodec/packet.h" + #include "avformat.h" #include "internal.h"