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 530ED40AD5 for ; Sun, 6 Mar 2022 18:07:34 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 45F0768B0D3; Sun, 6 Mar 2022 20:07:32 +0200 (EET) Received: from mail-yw1-f171.google.com (mail-yw1-f171.google.com [209.85.128.171]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7F23E68B03D for ; Sun, 6 Mar 2022 20:07:25 +0200 (EET) Received: by mail-yw1-f171.google.com with SMTP id 00721157ae682-2dc348dab52so107418297b3.6 for ; Sun, 06 Mar 2022 10:07:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=LLK/QX3hOw45jf0ME2w/pKGNyOOhjznkc+RDMQOlnKM=; b=UVblBcpskJ5jbLMXYw7jio47VJA/xmM1IFUeVQp9dYj9nKykF0vkFNhkE3qMnrCp8T AZeifcyVUHpSogHdZyxcwxRmqv10aj8yYyOrd0YIjUZkdINW4ErxPWcyfEJPuAdDGh6l KXrFytLq5kqd7b0PUhmeAisPj6bPD+a2gYuDVZPpnq5RffjunycnvD2a2W4iBKgZ/sYp O4lI1I9JMwcEhjAlA8H73J6JyJgWMS51YfW18zLN7v36WKA54Duvxy++ruCPhTXBg7H9 2EjatyvXTWJhZ7SDTasnqNQqC0p7hSw/4kri9zQ1PXPS1NV0GmbgnYOtAO7kPysBpXNd V21g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=LLK/QX3hOw45jf0ME2w/pKGNyOOhjznkc+RDMQOlnKM=; b=EEl4YdFUSjwypYSs5wAAC6XoI7wN5DveRf6Rova3NwC64Fj60al2lMk5bmK0uc5Pad eSV0RlgFubJ/tXfuS+hPLwslFKKF5XXRHOCxWMUz0bqxrpHAtDi3g48QxWTY9SDCFvmP 85Y/mkBrT3lCeHt5fXwqD/Vb07urcqeVFi0OJwnQo4L4nsud7sqMldNQWZW8TOxI/zIP RRe0gqjeCCgQ6NB8NY+jCgt8dv3nAJraXj0gNg7AmigpWhnbx2Sge+yQzSOAjHv8U+fr MQItVjNSezCxYu41NnCpUhKYrx6DodjeDUEvmF0odZWhWit9M2gG+6xatJ7/EvW28F+j J10A== X-Gm-Message-State: AOAM533jhpQB33ljkcfDAUa16QZp8IuuahS/LfjnrtYhADOygDi28yAx nQQe3UVkWVvDfHC7mM9siBHTqrZuhpdj5jWFEMlMgFNr X-Google-Smtp-Source: ABdhPJwWmJ6ndJNaqpJEACqI2E5KnyVMLHNVNJ0D1uC50gVIQYJ95EmeW+xwvSSMdrIPO10IteChmoi1b1HT8qi2Rf0= X-Received: by 2002:a0d:eb53:0:b0:2db:da53:a6d0 with SMTP id u80-20020a0deb53000000b002dbda53a6d0mr5897568ywe.34.1646590043964; Sun, 06 Mar 2022 10:07:23 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a05:690c:12:0:0:0:0 with HTTP; Sun, 6 Mar 2022 10:07:23 -0800 (PST) In-Reply-To: <20220306161617.27230-1-michael@niedermayer.cc> References: <20220306161617.27230-1-michael@niedermayer.cc> From: Paul B Mahol Date: Sun, 6 Mar 2022 19:07:23 +0100 Message-ID: To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [PATCH] avfilter/vf_colorlevels: Fix build failure on ARM 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 3/6/22, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavfilter/vf_colorlevels.c | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/libavfilter/vf_colorlevels.c b/libavfilter/vf_colorlevels.c > index a8859795dd..76adfbd8c8 100644 > --- a/libavfilter/vf_colorlevels.c > +++ b/libavfilter/vf_colorlevels.c > @@ -219,7 +219,7 @@ static int colorlevels_slice_8_planar(AVFilterContext > *ctx, void *arg, int jobnr > static int colorlevels_slice_9_planar(AVFilterContext *ctx, void *arg, int > jobnr, int nb_jobs) > { > ColorLevelsContext *s = ctx->priv; > - const int depth = s->depth; > + const int depth = 9; > DO_COMMON(uint16_t, av_clip_uintp2, 0, 1) > return 0; > } > @@ -227,7 +227,7 @@ static int colorlevels_slice_9_planar(AVFilterContext > *ctx, void *arg, int jobnr > static int colorlevels_slice_10_planar(AVFilterContext *ctx, void *arg, int > jobnr, int nb_jobs) > { > ColorLevelsContext *s = ctx->priv; > - const int depth = s->depth; > + const int depth = 10; > DO_COMMON(uint16_t, av_clip_uintp2, 0, 1) > return 0; > } > @@ -235,7 +235,7 @@ static int colorlevels_slice_10_planar(AVFilterContext > *ctx, void *arg, int jobn > static int colorlevels_slice_12_planar(AVFilterContext *ctx, void *arg, int > jobnr, int nb_jobs) > { > ColorLevelsContext *s = ctx->priv; > - const int depth = s->depth; > + const int depth = 12; > DO_COMMON(uint16_t, av_clip_uintp2, 0, 1) > return 0; > } > @@ -243,7 +243,7 @@ static int colorlevels_slice_12_planar(AVFilterContext > *ctx, void *arg, int jobn > static int colorlevels_slice_14_planar(AVFilterContext *ctx, void *arg, int > jobnr, int nb_jobs) > { > ColorLevelsContext *s = ctx->priv; > - const int depth = s->depth; > + const int depth = 14; > DO_COMMON(uint16_t, av_clip_uintp2, 0, 1) > return 0; > } > @@ -265,7 +265,7 @@ static int > colorlevels_preserve_slice_8_planar(AVFilterContext *ctx, void *arg, > static int colorlevels_preserve_slice_9_planar(AVFilterContext *ctx, void > *arg, int jobnr, int nb_jobs) > { > ColorLevelsContext *s = ctx->priv; > - const int depth = s->depth; > + const int depth = 9; > DO_COMMON(uint16_t, av_clip_uintp2, 1, 1) > return 0; > } > @@ -273,7 +273,7 @@ static int > colorlevels_preserve_slice_9_planar(AVFilterContext *ctx, void *arg, > static int colorlevels_preserve_slice_10_planar(AVFilterContext *ctx, void > *arg, int jobnr, int nb_jobs) > { > ColorLevelsContext *s = ctx->priv; > - const int depth = s->depth; > + const int depth = 10; > DO_COMMON(uint16_t, av_clip_uintp2, 1, 1) > return 0; > } > @@ -281,7 +281,7 @@ static int > colorlevels_preserve_slice_10_planar(AVFilterContext *ctx, void *arg, > static int colorlevels_preserve_slice_12_planar(AVFilterContext *ctx, void > *arg, int jobnr, int nb_jobs) > { > ColorLevelsContext *s = ctx->priv; > - const int depth = s->depth; > + const int depth = 12; > DO_COMMON(uint16_t, av_clip_uintp2, 1, 1) > return 0; > } > @@ -289,7 +289,7 @@ static int > colorlevels_preserve_slice_12_planar(AVFilterContext *ctx, void *arg, > static int colorlevels_preserve_slice_14_planar(AVFilterContext *ctx, void > *arg, int jobnr, int nb_jobs) > { > ColorLevelsContext *s = ctx->priv; > - const int depth = s->depth; > + const int depth = 14; > DO_COMMON(uint16_t, av_clip_uintp2, 1, 1) > return 0; > } > -- > 2.17.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". > LGTM _______________________________________________ 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".