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 C91264B9AE for ; Tue, 2 Jul 2024 20:36:21 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E697668D968; Tue, 2 Jul 2024 23:36:19 +0300 (EEST) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5521668D964 for ; Tue, 2 Jul 2024 23:36:14 +0300 (EEST) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-7065e2fe7d9so3600246b3a.3 for ; Tue, 02 Jul 2024 13:36:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719952572; x=1720557372; darn=ffmpeg.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=tWdaZjTnhSDnnBbej5b03A8ghGIpZruH2QpuwCBLcyw=; b=J848JS78P2b/7BvyNxt0LF/GoBQPOB1oVLpgVCHyyQeJI8W5m57ae1tTFphrk86zLt PDhFPmKbQh9UwwE5QN3z6bKLI7hwa5d3ReHmVmMKdPLkMnVGukV/DLZNnAOQ6nGz/pCm SLQKSdbxz6pV2E+TwQtYlywseYBjPCb5Wuc3MFiKD4JXrE8w5HFtx/uttre6XM4t71tZ Byiw3UDT8em7gVH3ToytDjLFWKrs+frFhbBqGO6veQWzhFdAUQf9GnCj0JsG0STJA6FS IR2LI83q1sY4uzgEMKQRZoqB2oaArK1rDU05slw5hXZG11tmaTVJoakcVqCTZfGKMMVz hdOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719952572; x=1720557372; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tWdaZjTnhSDnnBbej5b03A8ghGIpZruH2QpuwCBLcyw=; b=vZy74p4W54BYVEm2TDtuoIShXRLIYPCbmbhqVslvOlC1q84b8hzbi58y5eVqBnfIKL HYjjWA5bma4fb63uBTnO9Trt5TmUv6nwZ88/4TMzcCdOv9oZkaAdHY8h9/PYfJWn8yMK T7+din2c/I8+tN2In/SKVNTZfhNCJDhAoJhl/MSam8fvyYiuHt49Why60GNIg21gch9n tZYbbBK3LiA3Q/PymKdMS7KGvaQzqFkEfeE88QFQ6hqwsMGRxRefKnpjMfiumUhAI2OU 87t4wYPT+ukhvqu2LpS0j0jRANqOktmUXQXuoDXeqhU+vediv7cmJtW/smFbAcOdh+T6 FdTg== X-Gm-Message-State: AOJu0YzALacIdzTID4/QdVlYWz4H4bn+MEclmmzmBZ653hu/3P2oI1jv BUy+r2SQO9hNSPI4RhOH2x9pccoVlQy38LFIUa+7dV/W/RSTfNz0DX/Ns6AqfIiRUpE61ljwHl7 BBbnXKyvFn3mRK8MJ2fdUYn8qawa1CQ== X-Google-Smtp-Source: AGHT+IFWR+tg5/NAtqs0ul/r+BsYg+9t3C4FO/Gg392oM7CFgC49sX2wIQk934OiY5BNwPCkd/coigVHYebQbPs9BLc= X-Received: by 2002:a05:6a00:a83:b0:706:73c3:f958 with SMTP id d2e1a72fcca58-70aaaee58a9mr14484020b3a.24.1719952572089; Tue, 02 Jul 2024 13:36:12 -0700 (PDT) MIME-Version: 1.0 References: <20240614102114.981720-1-yotam.ofek@gmail.com> In-Reply-To: <20240614102114.981720-1-yotam.ofek@gmail.com> From: Yotam Ofek Date: Tue, 2 Jul 2024 23:36:01 +0300 Message-ID: To: ffmpeg-devel@ffmpeg.org X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] [PATCH] avcodec/aaccoder_twoloop: remove unread max scaler 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: Bump :) On Fri, Jun 14, 2024, 13:21 Yotam Ofek wrote: > --- > libavcodec/aaccoder_twoloop.h | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/libavcodec/aaccoder_twoloop.h b/libavcodec/aaccoder_twoloop.h > index c1dcdbb5ed..c56abc68a7 100644 > --- a/libavcodec/aaccoder_twoloop.h > +++ b/libavcodec/aaccoder_twoloop.h > @@ -101,7 +101,7 @@ static void > search_for_quantizers_twoloop(AVCodecContext *avctx, > */ > float sfoffs = av_clipf(log2f(120.0f / lambda) * 4.0f, -5, 10); > > - int fflag, minscaler, maxscaler, nminscaler; > + int fflag, minscaler, nminscaler; > int its = 0; > int maxits = 30; > int allz = 0; > @@ -572,12 +572,10 @@ static void > search_for_quantizers_twoloop(AVCodecContext *avctx, > } > > minscaler = SCALE_MAX_POS; > - maxscaler = 0; > for (w = 0; w < sce->ics.num_windows; w += sce->ics.group_len[w]) > { > for (g = 0; g < sce->ics.num_swb; g++) { > if (!sce->zeroes[w*16+g]) { > minscaler = FFMIN(minscaler, sce->sf_idx[w*16+g]); > - maxscaler = FFMAX(maxscaler, sce->sf_idx[w*16+g]); > } > } > } > -- > 2.40.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".