From patchwork Tue Apr 21 02:31:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 19120 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 3606C44AB6E for ; Tue, 21 Apr 2020 05:32:35 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1FDE768B9AE; Tue, 21 Apr 2020 05:32:35 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D0D7868B9A6 for ; Tue, 21 Apr 2020 05:32:28 +0300 (EEST) Received: by mail-wm1-f68.google.com with SMTP id x4so1807162wmj.1 for ; Mon, 20 Apr 2020 19:32:28 -0700 (PDT) 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=yuEGhyRZh9SuNGnCfAp3RY89aeWMLqVvUI58pWrtxiQ=; b=gB43GbSWRZIB2yUYO2oJp7EPCRFRAjG2M/34HOZcs5CkeaTiHoB07APfy+pkkcKu9M xl3X1B6XBRDHnxAcm+CYfXBtEpwrU08Y4x0A58hIU9K9uwCLl6PTUBEiTfoGrfj7WRy5 jMW9E5JMKUk1/e6lGf4wzt/BWO/43j8ea3J3zwhLBGIZc4MCqOCzxBba9FUzU/877b6R yP/M+Jbd9z3M4mp7jkXREA+QNf5cODlwcU6FF80/mQCZeMZr7OZA1dxmSaEPmxwS67Aw KpkIXlUexG4gqSkrIsVaDO8FP/ZG/npTOwF9E1Z9dZ7CHpolQjXhf6B8BGWWozeMVhUG lJoA== 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=yuEGhyRZh9SuNGnCfAp3RY89aeWMLqVvUI58pWrtxiQ=; b=ELvH2Tpq/6eyMLa99hT/K+2xGBlrbIO8siBU1UjKjbHuofQh7zD885gyn2QHyOGqq/ P8Hy6FtJsu+/FO+b0S+2PBlifKWRSnqdgIhept2EEkV7eZIJQRCsifJSvdxOrzyqmpwZ VRqE7bTu7jEh/a/jZyj17KvCPoRXTbLji0+F8s0HVkYQepF0cDvQ4qT8zyg4SmT5ABJM Uv3vkoJsThTPnmb4eCN3/lRT6eGsoDhwuKV1hoAlJlxAbII7a3WwomaGsONBlDO9ag3Y UwgIu/Ui+tzJ6borAWfJNwUNg3wtlboh+by8rvA7yUgsCOmx/J1qRIi1avsmVzPXg3GK fS6Q== X-Gm-Message-State: AGi0PuaAW2oWGCIvzjJZx7NEIc36aAn6ESpym1CNRK6OwDeuUuqv2qGf Qh/w5BratV5F7iFsNN14QO1x6jJg X-Google-Smtp-Source: APiQypLbWLTn9oxUsYqjqGeV7xYD72US1SdsLskuIfLViKuSToz5zaaDAVchjJw1TM6jtkBwef8VmA== X-Received: by 2002:a1c:98c3:: with SMTP id a186mr2350869wme.178.1587436348014; Mon, 20 Apr 2020 19:32:28 -0700 (PDT) Received: from sblaptop.fritz.box (ipbcc1ab57.dynamic.kabel-deutschland.de. [188.193.171.87]) by smtp.gmail.com with ESMTPSA id m14sm1708656wrs.76.2020.04.20.19.32.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Apr 2020 19:32:27 -0700 (PDT) From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Tue, 21 Apr 2020 04:31:47 +0200 Message-Id: <20200421023153.25008-2-andreas.rheinhardt@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200421023153.25008-1-andreas.rheinhardt@gmail.com> References: <20200421023153.25008-1-andreas.rheinhardt@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 2/8] avformat/mux: Remove unnecessary 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" mux.c was split from utils.c in 55f9037f38bc3beacb2f5a17408c1d24c077d7fd and during this split all headers were simply copied without checking if they were only needed in the part that stayed in utils.c (or whether these haeders were needed at all). As a result quite a lot of headers in mux.c are unnecessary. This commit removes them. Signed-off-by: Andreas Rheinhardt --- libavformat/mux.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/libavformat/mux.c b/libavformat/mux.c index a6253f5430..c348b8fdc8 100644 --- a/libavformat/mux.c +++ b/libavformat/mux.c @@ -20,29 +20,16 @@ */ #include "avformat.h" -#include "avio_internal.h" #include "internal.h" #include "libavcodec/internal.h" -#include "libavcodec/bytestream.h" #include "libavutil/opt.h" #include "libavutil/dict.h" #include "libavutil/pixdesc.h" #include "libavutil/timestamp.h" -#include "metadata.h" -#include "id3v2.h" #include "libavutil/avassert.h" #include "libavutil/avstring.h" #include "libavutil/internal.h" #include "libavutil/mathematics.h" -#include "libavutil/parseutils.h" -#include "libavutil/time.h" -#include "riff.h" -#include "audiointerleave.h" -#include "url.h" -#include -#if CONFIG_NETWORK -#include "network.h" -#endif /** * @file