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 5DEBE46464 for ; Sat, 17 Jun 2023 22:01:33 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id AE01468BF66; Sun, 18 Jun 2023 01:00:55 +0300 (EEST) Received: from mail-oa1-f47.google.com (mail-oa1-f47.google.com [209.85.160.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id DF0A268BF44 for ; Sun, 18 Jun 2023 01:00:48 +0300 (EEST) Received: by mail-oa1-f47.google.com with SMTP id 586e51a60fabf-1a9acdddb20so1905914fac.0 for ; Sat, 17 Jun 2023 15:00:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687039247; x=1689631247; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=+tvaZ6IbcNmMZCqixKsSfCQQTWWZrSHNCELARU3yyeM=; b=l71PX2bDZvxxEpTnUnJytAhyKRnng3S5hqAfN5hby5a9IvghmjZ7YNi572QC2lIRM8 07LAOcE1AEEliRk17IOLbNMF+zTwMsZqrWIDvKNMxpJMw9DK8RzdGCeasbr7xxTS0jeM 9UdBHk3MRH3FrJunBR6j+6d3xfIeqBh9+kyw9M3Ed7KIfsYtwUIisr1RCfm+5gH0RqFd 3f6nPEj4e+v/78AW6Bb5E2Y55Sj6SJj8BQ9XCRpndtV7ApiMP0CkMzbqCo5E1j5usTqq 8JcEtQeI1XIX6Dc124hrwod4VLDv4Ek3DvlB4YGZb9gJ1te5lEX5t1I8QB3MlLlMbV93 i4uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687039247; x=1689631247; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+tvaZ6IbcNmMZCqixKsSfCQQTWWZrSHNCELARU3yyeM=; b=Vi8dyZwz4zkmrvAIA8QFNulAaXhl7awt1+WpUlKS4je1sAnX9k3P77yfRuH0VJfX6M eujnaMthYllmbq99+TcGfmh/4KSbHaOUp17Br3XIPtWgNyOWnlg2I7JY5nlJtanFtkBm LYvk97gNoChCaqvSBe4vomwUZzATXuNuF2QecmWgit3pnDIy7i86lrv3ur4rABaywR3J Ny/v0MZNkw82gijrYH+dx2N2SIlzGstu1sYldUBCdD+v2qih6Xu9BnZkSQxa+PekY30Q eGteQ7VgiK1uH4oPJJKOPpp2JZMebE6PHq44qmaOKaakNe6gIrhK+t5dh6Lo5ZlFTWeQ g20A== X-Gm-Message-State: AC+VfDzc0GLYaBPSZO5VF8bDl0u00Iq6YqjFeHsc5xQT7l5H5Q7rI4aV K/PH5cVdQoiM48AcP9U71Y0qvH+DFeg= X-Google-Smtp-Source: ACHHUZ7XAjY4vB5TRsD7ya5PQYGROcPV/tpBiJfbsXDxXxqCQcFNItonclaqLrj7SLX8ipPG9r1eJg== X-Received: by 2002:a05:6870:c787:b0:1a6:8fdd:9902 with SMTP id dy7-20020a056870c78700b001a68fdd9902mr1770153oab.19.1687039247007; Sat, 17 Jun 2023 15:00:47 -0700 (PDT) Received: from localhost.localdomain (host197.190-225-105.telecom.net.ar. [190.225.105.197]) by smtp.gmail.com with ESMTPSA id o42-20020a05687096aa00b0019280078be5sm6246497oaq.6.2023.06.17.15.00.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Jun 2023 15:00:46 -0700 (PDT) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Sat, 17 Jun 2023 19:00:13 -0300 Message-ID: <20230617220015.12669-5-jamrial@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230617151848.1378-1-jamrial@gmail.com> References: <20230617151848.1378-1-jamrial@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 08/10] avcodec/evc_parser: remove write only variable 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: Signed-off-by: James Almer --- libavcodec/evc_parser.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/evc_parser.c b/libavcodec/evc_parser.c index d22922d1c9..c30da6846e 100644 --- a/libavcodec/evc_parser.c +++ b/libavcodec/evc_parser.c @@ -211,7 +211,6 @@ static int parse_nal_units(AVCodecParserContext *s, AVCodecContext *avctx, const { const uint8_t *data = buf; int data_size = buf_size; - int bytes_read = 0; while (data_size > 0) { int nalu_size = 0; @@ -223,7 +222,6 @@ static int parse_nal_units(AVCodecParserContext *s, AVCodecContext *avctx, const nalu_size = evc_read_nal_unit_length(data, data_size, avctx); - bytes_read += EVC_NALU_LENGTH_PREFIX_SIZE; data += EVC_NALU_LENGTH_PREFIX_SIZE; data_size -= EVC_NALU_LENGTH_PREFIX_SIZE; -- 2.41.0 _______________________________________________ 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".