From patchwork Thu Mar 25 15:49:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 26598 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 5B27A44B722 for ; Thu, 25 Mar 2021 17:50:38 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4490F68A9C9; Thu, 25 Mar 2021 17:50:38 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 82D8768A9A8 for ; Thu, 25 Mar 2021 17:50:32 +0200 (EET) Received: by mail-ed1-f44.google.com with SMTP id y6so2987224eds.1 for ; Thu, 25 Mar 2021 08:50:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=nj2Uu0gAMsWyMS4VGz/vxHErYBpyFtpz741WAunVZ90=; b=k5JwWZuP+Ubbgz3MGoIxU6IZhIi8FkNoGK2y9opss5hsthUY9Ow1gIFgAsoRSTSbcC QDWyuyExAmV0XnylOeHc0dpR6e6Fv07IGbfuvwjeRPV0Q1ZyQbhAWKB4Q9olSVcPwSwk JauNK9s60YDR7CscRpEFgRiKSgIGNIqNu4B0ZVP/LkZFYkadGpcsqw0WqaC/195X3auh abPwOxKyE7AIHtPf76NxeCkoV9eDN9ejDKIwpgLCkoi6L00wGx4pXbKaTV1q8Giw+KOl LNrZPBfZwt8AVFXDuIZ41HJRWd/AgORw3Fj3GRPfYJ6tjpWHgH4YOAKUMl9D7iXt4KtJ ADRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=nj2Uu0gAMsWyMS4VGz/vxHErYBpyFtpz741WAunVZ90=; b=Hg95viZifWpHMt/bbWupG6wmYu0XKXJGJ6lDu36x7Zinavwcm+FyyqMegEhictLSy4 QcjLStwAtuffxUjZwFjw36f7kDhHFQEo0J4VgBSJwcq+hmt2/Sv+LjVjsCb5y/2Z3cHS nea2qw0BScODBD8muTCwa2JYLQurhnKOl/H2lcz3o9aN1tXlyJKV54CHPzFxj6MsVE3U odw/gPJhpi7yebYw/IVBSCAM5eM+9rONIP8+dGIjGMxttqX8easqKr36V6n7XVM7qgNv yTZQrrAKFQwgaCvmr5HHSNP6cTnecyOXscH7+3H+DpLxOPmG6pau+qbRPV3aC+AeJuqG inKQ== X-Gm-Message-State: AOAM531ycdUHzkSdCYAVHr0JhA8wGBxvkdAzXUiwXO9Nd0C22VbbGbHZ m+xDNAzLy5ZQz1lQn+ih1Hf1k9RrPSGJdA== X-Google-Smtp-Source: ABdhPJyBwHVYdUxqPmMdqQFi6vP1fF99qdsgqppv+HaH3ve6XTR49Q48c+DgrUMMd11yo/ifrMB5Xw== X-Received: by 2002:a50:fd15:: with SMTP id i21mr9540479eds.384.1616687431912; Thu, 25 Mar 2021 08:50:31 -0700 (PDT) Received: from sblaptop.fritz.box (ipbcc08960.dynamic.kabel-deutschland.de. [188.192.137.96]) by smtp.gmail.com with ESMTPSA id o6sm2859103edw.24.2021.03.25.08.50.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Mar 2021 08:50:31 -0700 (PDT) From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Thu, 25 Mar 2021 16:49:46 +0100 Message-Id: <20210325154956.2405162-2-andreas.rheinhardt@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210325154956.2405162-1-andreas.rheinhardt@gmail.com> References: <20210325154956.2405162-1-andreas.rheinhardt@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 02/12] avcodec/sonic: Remove outdated outcommented line X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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: Andreas Rheinhardt Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Compilation would fail if it were outcommented as it refers to a nonexistent PutBitContext. Signed-off-by: Andreas Rheinhardt --- libavcodec/sonic.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/sonic.c b/libavcodec/sonic.c index 32e94d24f6..8339799dd3 100644 --- a/libavcodec/sonic.c +++ b/libavcodec/sonic.c @@ -832,8 +832,6 @@ static int sonic_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, return ret; } -// av_log(avctx, AV_LOG_DEBUG, "used bytes: %d\n", (put_bits_count(&pb)+7)/8); - avpkt->size = ff_rac_terminate(&c, 0); *got_packet_ptr = 1; return 0;