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 B469C44531 for ; Tue, 18 Oct 2022 23:43:08 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 484DC68BD40; Wed, 19 Oct 2022 02:43:05 +0300 (EEST) Received: from mail.overt.org (mail.overt.org [157.230.92.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8871F68BB2E for ; Wed, 19 Oct 2022 02:42:58 +0300 (EEST) Received: from authenticated-user (mail.overt.org [157.230.92.47]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by mail.overt.org (Postfix) with ESMTPSA id ADA1C3F230 for ; Tue, 18 Oct 2022 18:42:55 -0500 (CDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=overt.org; s=mail; t=1666136575; bh=4SwF4T7RF2C/yQEQfIfu8t5++9/k2/MZoAA36cQgcnQ=; h=Date:From:To:Subject:In-Reply-To:References:From; b=XGY9nInbzpuoKLoojBqTCoFapsOirRQTWTB4jGC80Lfjez3txYLVS7Bg8cloxHhnY rQdILBac6+WOyueGVEPht+X+/K3UbeO3FEw4MCXfucnzU9t87RlZj5Wr/dMhwUaF4w AByPb2xrgdzOdCau1NgTDR3K3v6je8dGdoSUWzQt4REVdIL2QvqC9dbYgacWHJvoHc 9lJpFDeGlYVmXapruvxIGDgKul5F5UkuBuuPC96ElCELNDDtHhkyO/pcHx5PTfuWDE 7vGSk36m6wTziaeILyHLtGeeEZ3XugWey8Lt6DweIQlqse5sk+X8kTVPDsuGTNXLcB IlSb1nU5XX7Fg== Date: Tue, 18 Oct 2022 16:42:52 -0700 From: Philip Langdale To: ffmpeg-devel@ffmpeg.org Message-ID: <20221018164252.71f01887@fido7> In-Reply-To: References: MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH 3/8] avcodec/nvdec_mjpeg: Remove always-true #if CONFIG_MJPEG_NVDEC_HWACCEL 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 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: On Tue, 18 Oct 2022 15:31:21 +0200 Andreas Rheinhardt wrote: > This file is built iff said hwaccel is enabled. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/nvdec_mjpeg.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/libavcodec/nvdec_mjpeg.c b/libavcodec/nvdec_mjpeg.c > index 87f7a99a46..fce464c1f8 100644 > --- a/libavcodec/nvdec_mjpeg.c > +++ b/libavcodec/nvdec_mjpeg.c > @@ -20,8 +20,6 @@ > * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA > 02110-1301 USA */ > > -#include "config_components.h" > - > #include "avcodec.h" > #include "internal.h" > #include "mjpegdec.h" > @@ -71,7 +69,6 @@ static int nvdec_mjpeg_frame_params(AVCodecContext > *avctx, return ff_nvdec_frame_params(avctx, hw_frames_ctx, 1, 0); > } > > -#if CONFIG_MJPEG_NVDEC_HWACCEL > AVHWAccel ff_mjpeg_nvdec_hwaccel = { > .name = "mjpeg_nvdec", > .type = AVMEDIA_TYPE_VIDEO, > @@ -85,4 +82,3 @@ AVHWAccel ff_mjpeg_nvdec_hwaccel = { > .uninit = ff_nvdec_decode_uninit, > .priv_data_size = sizeof(NVDECContext), > }; > -#endif LGTM. --phil _______________________________________________ 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".