From patchwork Sat Apr 13 00:46:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Zhao X-Patchwork-Id: 12716 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 56B63447692 for ; Sat, 13 Apr 2019 03:46:20 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2FE4A68AC2C; Sat, 13 Apr 2019 03:46:20 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8B73868A9B3 for ; Sat, 13 Apr 2019 03:46:13 +0300 (EEST) Received: by mail-pf1-f179.google.com with SMTP id h5so5913486pfo.0 for ; Fri, 12 Apr 2019 17:46:13 -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; bh=RQH8MH9KBgG2aOcKFSNbeaV8ldDZtQeM+mKuOHqB4Gc=; b=dXrk1ozcFABKdcOq6bK4lDuCW+IL5q5ZoYEXs4tn9FUGmVpq+KKoW0dIUHfvIJfkxZ D9aouBmfqMzxUcO+aZA/qG5Tah6uSsR5+rhg8n7rUZU6OKHkCIKOYfvqwpACnimu0abN Kr0RsZB8yNLoT5q/uuBcrRSLBh+nmIBPo+fZ7JX2esJW4EGb7bRG6a9khnkF2Ed7Aiww PFJRf/tyUQa4OwfWojR1NFRy7Xk1n8uRNB1JyKmWI9Lx4yY0QAmcUGmJITkINSLMyg4u EJ9G9pCiu5rz0fwMV1LLup6HkJ2RnFwLTGY3CNO2p65kv1lv4COzzPpzwAKVLawCDovX cYNg== 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; bh=RQH8MH9KBgG2aOcKFSNbeaV8ldDZtQeM+mKuOHqB4Gc=; b=Xqp3CUz8ArPsago+VLl/hEyH9q/1kOfpbybpnyNSHaiLFjyNgYdlnO9rTzGw1nZkIq rues+PHY41fkeagODhWQkYOzXy2RbVNH9W5/MKSB2NNItNL6s6P0SIFsQNgt+Te+siA/ /PwLh/gEEUCGiDIkVonl1TcJMnA46gzBJGopak1xTOzhSS6ph0OvMsasnEONKrZ/qVzs a/f/OdDfXCEsiwyLgvJoh5mWleqiot5yxdUNCX8I6rZzohknDanoI5EqY0bn8LzEpD4P nDDGXf5SwZMM3zMzTA43svPFnOq8cYm/7dcLp3hesap5DhSk8gdindSDleS/PFUuEkVz HNSA== X-Gm-Message-State: APjAAAX09F/Mdjf6yQzlbod1ksSsQhlUn4LSLdBFQeLkJ1lg42Hj2vL8 wd3/ockAWJQlYzb3mvCv//MYi+V4 X-Google-Smtp-Source: APXvYqz7tIy5iwSAlw5/u4GCa0mYJ+rL/BFW71eYTOW6A1ExSBZjL5ipYMByB1r0yOoW88gBSVdk1A== X-Received: by 2002:a62:415d:: with SMTP id o90mr60140268pfa.236.1555116371393; Fri, 12 Apr 2019 17:46:11 -0700 (PDT) Received: from localhost.localdomain ([47.90.47.25]) by smtp.gmail.com with ESMTPSA id f71sm67623778pfc.109.2019.04.12.17.46.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Apr 2019 17:46:10 -0700 (PDT) From: Jun Zhao To: ffmpeg-devel@ffmpeg.org Date: Sat, 13 Apr 2019 08:46:06 +0800 Message-Id: <1555116366-7270-1-git-send-email-mypopydev@gmail.com> X-Mailer: git-send-email 1.7.1 Subject: [FFmpeg-devel] [PATCH V1] avformat/avformat.h: correct the comment for AVInputFormat.extensions 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: Jun Zhao MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" From: Jun Zhao Now the probe logic is: Only read_probe is NULL and extensions are defined, then no probe is done. Correct the comment to follow the coding logic. Signed-off-by: Jun Zhao --- libavformat/avformat.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 734ae54..bbfa61d 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -659,8 +659,8 @@ typedef struct AVInputFormat { int flags; /** - * If extensions are defined, then no probe is done. You should - * usually not use extension format guessing because it is not + * If read_probe is NULL and extensions are defined, then no probe is done. + * You should usually not use extension format guessing because it is not * reliable enough */ const char *extensions;