From patchwork Thu Feb 21 07:16:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Steven X-Patchwork-Id: 12127 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 1941D448F16 for ; Thu, 21 Feb 2019 09:43:37 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7884868ACF9; Thu, 21 Feb 2019 09:16:53 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from smtpbgsg2.qq.com (smtpbgsg2.qq.com [54.254.200.128]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3851468A974 for ; Thu, 21 Feb 2019 09:16:45 +0200 (EET) X-QQ-mid: bizesmtp11t1550733397tnkkslda Received: from localhost (unknown [111.200.62.154]) by esmtp6.qq.com (ESMTP) with id ; Thu, 21 Feb 2019 15:16:36 +0800 (CST) X-QQ-SSF: 01100000002000K0ZOF0000A0000000 X-QQ-FEAT: icPnN8QTuIuggqnWc23If135RMFF7I+nSYaV59EjvCGpIOBpq5XcurViLYFwq ydG+TUTNIAhPQkkLWBVN8tTdwV565+2dCoKs1mk6MDQgA7ZW9rc6AaqSuxvNjsNLsOBBAmY BYCk2MHWvIKkqQ8AeCABOqZ6b9D7w8RqLiaf8IkcGs9ZHsAzEXQkex6TaFWkCFL90o1Tmha 0DBuvlLuTUM0XwQD3cHxMGqIke4AnqAmnrPuxsH3UUtvEw6/lZd8ZkWczNH7eNk3fuVXep4 hRTrNu3jNVP8rm7yCyP18+z5P77XtJGwshlw== X-QQ-GoodBg: 0 From: Steven Liu To: ffmpeg-devel@ffmpeg.org Date: Thu, 21 Feb 2019 15:16:24 +0800 Message-Id: <20190221071624.26150-1-lq@chinaffmpeg.org> X-Mailer: git-send-email 2.15.2 (Apple Git-101.1) X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:chinaffmpeg.org:qybgforeign:qybgforeign2 X-QQ-Bgrelay: 1 Subject: [FFmpeg-devel] [PATCH] avformat/avformat.h: update the comment from deprecated to new API 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: Steven Liu MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: Steven Liu --- libavformat/avformat.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index fdaffa5bf4..12cc8387ed 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -36,15 +36,14 @@ * into component streams, and the reverse process of muxing - writing supplied * data in a specified container format. It also has an @ref lavf_io * "I/O module" which supports a number of protocols for accessing the data (e.g. - * file, tcp, http and others). Before using lavf, you need to call - * av_register_all() to register all compiled muxers, demuxers and protocols. + * file, tcp, http and others). * Unless you are absolutely sure you won't use libavformat's network * capabilities, you should also call avformat_network_init(). * * A supported input format is described by an AVInputFormat struct, conversely * an output format is described by AVOutputFormat. You can iterate over all - * registered input/output formats using the av_iformat_next() / - * av_oformat_next() functions. The protocols layer is not part of the public + * input/output formats using the av_demuxer_iterate / + * av_muxer_iterate() functions. The protocols layer is not part of the public * API, so you can only get the names of supported protocols with the * avio_enum_protocols() function. *