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 DA80346985 for ; Thu, 31 Aug 2023 14:49:48 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D4EC268C78A; Thu, 31 Aug 2023 17:49:44 +0300 (EEST) Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 74E6768C6B5 for ; Thu, 31 Aug 2023 17:49:38 +0300 (EEST) Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-31c79850df5so733344f8f.1 for ; Thu, 31 Aug 2023 07:49:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693493377; x=1694098177; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=sb7cqa6AWAszwMa/87oYebNKq+gEz0UpJhI+xD2Ge8U=; b=X2ph9jKB/fjEhKVqpNHMo+A9jsr6VozYQSfceCmmq2SeiG9r+RZabiPQA5pn6KPnM9 9Y2MUi4crTaZZ04x3NuYf96veMVBTxkL0GWMBhE4gYXUkmYT1UtOFpA0rwy6Xa4GN39c OksiELles5G+IRDpv7POOq4yXBW7lNLep8fFHFNesSevtrfubaK7iVF3O8V8oSOuwZWd T8k0LWC5aRBwEQILh9MOz1IIcPX/6UE7BgWik2XXEh5uY0ymJXzLhPsskjwxBe2xV+Rt 0qono67FtW1i91ll1KgxvRlXVHB614wCIeTII3dj9qouZPt9x4vT/XpPfDAZm2KylcF6 3FPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693493377; x=1694098177; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=sb7cqa6AWAszwMa/87oYebNKq+gEz0UpJhI+xD2Ge8U=; b=Rw9GGu5sqIXMaF9aJFKAuT18wejgiJHdvzvLROkkli+eqw2Jxa8n8P3f33BFSgLpGT T6IZXkqkkx5/ws/12S8VDrorknL45yZ7CTVJgooZbKis4XEUl5zd1mMv8FkEAJqKZkqO iUZTsBzXq3x4qX4U5c7KLAs4QQY0VO2ckJEletOQR9wjIqA16+x8Dj/aLkbTrc3lO7U0 lB3avLxtPAy6Jlb/AZfcYeF0Ef4kBunyH52fiRvac8/pfMxUlbPe8v8Qx6WC8XVXSNAE MN+/6tPSeJr2Hsi5EXawv2xoIqUNvzmB2u7IQgqWadMjZ80MGh1Rwp658CmZd1EENIIi cvlQ== X-Gm-Message-State: AOJu0YyN5+u68ZrE7KITsUiz6xC812nu7dq+ti3Zy5jUcndiwPr3jKcL dErfmHtmBWB5crKRdRIywzrDYCA8aMiiUg== X-Google-Smtp-Source: AGHT+IFlOUhK6qpq4pLpHyVTNGzZwFxNFhLqbkpZFVQb6zEbjXkZTWMm04ovyk0oGKSg24dE4bzC3g== X-Received: by 2002:adf:ed8b:0:b0:317:58e4:e941 with SMTP id c11-20020adfed8b000000b0031758e4e941mr4244785wro.33.1693493377117; Thu, 31 Aug 2023 07:49:37 -0700 (PDT) Received: from localhost.localdomain ([49.51.162.193]) by smtp.gmail.com with ESMTPSA id h12-20020a5d688c000000b0031ae2a7adb5sm2421331wru.85.2023.08.31.07.49.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Aug 2023 07:49:36 -0700 (PDT) From: Jun Zhao To: ffmpeg-devel@ffmpeg.org Date: Thu, 31 Aug 2023 22:49:31 +0800 Message-Id: <20230831144932.575654-1-mypopydev@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/2] avdevice/decklink_dec: add explicit specifier 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: Jun Zhao , Jun Zhao 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: The explicit specifier used with a single argument constructor to prevent implicit type conversions. Signed-off-by: Jun Zhao --- libavdevice/decklink_dec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavdevice/decklink_dec.cpp b/libavdevice/decklink_dec.cpp index 11640f72ca..671573853b 100644 --- a/libavdevice/decklink_dec.cpp +++ b/libavdevice/decklink_dec.cpp @@ -577,7 +577,7 @@ static void handle_klv(AVFormatContext *avctx, decklink_ctx *ctx, IDeckLinkVideo class decklink_input_callback : public IDeckLinkInputCallback { public: - decklink_input_callback(AVFormatContext *_avctx); + explicit decklink_input_callback(AVFormatContext *_avctx); ~decklink_input_callback(); virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID iid, LPVOID *ppv) { return E_NOINTERFACE; } -- 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".