From patchwork Mon Mar 11 03:23:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Steven X-Patchwork-Id: 12284 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 56725448C26 for ; Mon, 11 Mar 2019 05:23:23 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2950368A66E; Mon, 11 Mar 2019 05:23:23 +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 9ED8C68A664 for ; Mon, 11 Mar 2019 05:23:15 +0200 (EET) X-QQ-mid: bizesmtp17t1552274587tm88857k Received: from localhost (unknown [43.247.177.226]) by esmtp6.qq.com (ESMTP) with id ; Mon, 11 Mar 2019 11:23:06 +0800 (CST) X-QQ-SSF: 01100000002000K0ZOF1000A0000000 X-QQ-FEAT: L3blbkxtNtndE9H1I9XeiImuG3yVVlnYiIoLqYTwoMfWbphxS7hyL7iXL2Mjg tkFjkTvfHZL9vxmww5qJ/q+fdm7M4yXMXMuo+LdCHfc7wYklGr7fN3J0ndTxGa0yvGX+9T3 uWs/XAQ+Exws3+tzXMfzR9dOApBYUTi3/GHZXIQLSWb8u2opq/S8UH37Rpq/V0XnKCxbg2a usnmS1kiaw4msiJaZ4ARo8ah2t5Celw4/j1lpQvEGqzBphdgVk52RVANioTeLxQFnSC9jCI lHPfZKu6BHIAK+x5ryBgbNW+aZKHPoN5Z4Tg== X-QQ-GoodBg: 0 From: Steven Liu To: ffmpeg-devel@ffmpeg.org Date: Mon, 11 Mar 2019 11:23:03 +0800 Message-Id: <20190311032303.53431-1-lq@chinaffmpeg.org> X-Mailer: git-send-email 2.15.2 (Apple Git-101.1) In-Reply-To: References: X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:chinaffmpeg.org:qybgforeign:qybgforeign4 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 | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index fdaffa5bf4..3fec074373 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -36,17 +36,15 @@ * 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 - * API, so you can only get the names of supported protocols with the - * avio_enum_protocols() function. + * 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. * * Main lavf structure used for both muxing and demuxing is AVFormatContext, * which exports all information about the file being read or written. As with