From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 7F52E42AC6 for ; Sun, 12 Jun 2022 16:24:07 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7776968B4B3; Sun, 12 Jun 2022 19:24:04 +0300 (EEST) Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E25FE68B073 for ; Sun, 12 Jun 2022 19:23:57 +0300 (EEST) Received: by mail-wm1-f44.google.com with SMTP id j5-20020a05600c1c0500b0039c5dbbfa48so3386391wms.5 for ; Sun, 12 Jun 2022 09:23:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Dl7fFn9ms9B2x3eH7hLz8VU81+qLavqViXv5O/4cg5k=; b=mQSLl6Ng+mWTRgvFmPBQqPNdp8Z1BkEvAUmyKrm6MhexS0e07qrr/7aKHNB8dDGqcH xqzy2WXq5iTIslzxZBzNNQ0nbbu0hSuIz6YuJP0S04brfpQT0fcKoJvHd5hBt62tDilK 6DunvJabUuXfk543eK/COVrxJziUxnVB3CuvuO+mhzCIzUisiB0+iJ9lXyxlXPrWEcak 80ohaXIwfqxPOCMbM2g/dfKa3M0qhsqyojJXsvjNRc/KalSYmtVRxf0QU5M7kvcRx9zv HrLMHBH0vD2FDkOFhgwQSj28kIVcFvcoXyJxvsaQ1mOMxw2PDYcAC4WQyD8VcRpnp+Dp V2+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Dl7fFn9ms9B2x3eH7hLz8VU81+qLavqViXv5O/4cg5k=; b=wlF/q9VLMvPzXQVsJi57C/jVxr+4evERnOcqkkfyfMynfhUZZziBBxHYk7EsbzdrFF DjV2IytPiv7/BQDoRAQ2kH4ma0JCKsNLAN9b8w1sB6UupouQLnmLwJVDZYnVYbcPT2pH GFULSlH5JbbVpYePV14ScaIgYhbHVkJnJhF7zYbGBMzXTPsQ3pfd7icgFvHpHs/kDFKa nVyFm6rpFJLnPL4ab7eN/WEBgtGY9sb0+1qd/GhVuM7eenSnohCMFkz5s7hG2MlJ/SpI G46kohIbem6CvN0EBH+MAzDkTxyOxXtE89I66yGQsceY6/wWIBKXCq+0ipmGn479okcQ v/xA== X-Gm-Message-State: AOAM531TqZa+MlK3K27DIg+gODS35aKD76LQwAxD7FqQ74bw4B+oiyUs DxmGmELY6TDkGGNMRHhiIYqUyTt9JCQ= X-Google-Smtp-Source: ABdhPJzlY69n2qMLh8+KRKr5yR6kva8mPhVSX4sb8MoLYn3Fzvg6819wxtTgfIg6KXas4GSOmxCdHg== X-Received: by 2002:a05:600c:35c1:b0:39c:7930:7b5b with SMTP id r1-20020a05600c35c100b0039c79307b5bmr10062212wmq.162.1655051037028; Sun, 12 Jun 2022 09:23:57 -0700 (PDT) Received: from mariano (dynamic-adsl-78-14-101-54.clienti.tiscali.it. [78.14.101.54]) by smtp.gmail.com with ESMTPSA id b6-20020a056000054600b002102739add8sm7147317wrf.54.2022.06.12.09.23.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jun 2022 09:23:56 -0700 (PDT) Received: by mariano (Postfix, from userid 1000) id 45988BFA36; Sun, 12 Jun 2022 18:23:55 +0200 (CEST) From: Stefano Sabatini To: FFmpeg development discussions and patches Date: Sun, 12 Jun 2022 18:23:55 +0200 Message-Id: <20220612162355.147219-1-stefasab@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] lavf/avformat.h: document av_guess_codec() parameters 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 Cc: Stefano Sabatini Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Also annotate that some of the parameters were never used. Fix trac issue: http://trac.ffmpeg.org/ticket/4706 --- libavformat/avformat.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index f12fa7d904..58030f1814 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -2493,6 +2493,15 @@ const AVOutputFormat *av_guess_format(const char *short_name, /** * Guess the codec ID based upon muxer and filename. + * + * @param fmt the output format, for example one computed by + * av_guess_format() + * @param short_name currently ignored + * @param filename the filename where the encoded stream is going to be stored + * @param mime_type currently ignored + * @param media_type the codec media type + * @return the guessed codec ID, or AV_CODEC_ID_NONE in case none could be guessed + * */ enum AVCodecID av_guess_codec(const AVOutputFormat *fmt, const char *short_name, const char *filename, const char *mime_type, -- 2.25.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".