From patchwork Thu Dec 10 11:16:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 24492 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 8E9F244BB21 for ; Thu, 10 Dec 2020 13:22:47 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C038368A768; Thu, 10 Dec 2020 13:19:13 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C935E68A633 for ; Thu, 10 Dec 2020 13:19:10 +0200 (EET) Received: by mail-wr1-f65.google.com with SMTP id r14so5069467wrn.0 for ; Thu, 10 Dec 2020 03:19:10 -0800 (PST) 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=HZtt1354yN+YH0qEUGvqBGsWTp/monOyL12LzOnFq4Q=; b=ZHYKQMU9/H2jim+Pbh+jJzseZN+06B5RXIDTiU6QNlkWTCWv8tZaTyM3pBilVHiT9d QfprvWhdpPAZ1Uz6iRPJ86nR5ChRkUW+Fa13Ik3i/n1K2wLwD+uRed+MLSJWMoUJprqD vtx1Vuv6VLd18prRJ1IWDykUwo/1HthGvQo3soR0qi0W4Bw0miOojVn7MQWBxOZ9o5AU YHr98eGr0PDKwInrQoYBrgfWYX9+1plzph85zEyAlIreAX3x1ODfmiJUkpKHxt0mJm/F 7HVpsJHavMH4ce4W/wPeuWC8OfXFMrPZ0rFpoTa/Nn+DGZ2wqDR7/9df1wA1srg08TT+ Mg6Q== 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=HZtt1354yN+YH0qEUGvqBGsWTp/monOyL12LzOnFq4Q=; b=DSYH9wf1/vEX7XOLcZ3rkjx9Ji80ZkS2u5TPvkQpmQ1U0rT2rZSPOrHIcMPheURovH MDdw/lXmVRhBv4/7aWz/XV0fOOljius6KGF9XFTF9aQXLjjvA7WlOqTXm4zyQ4D3UhX6 iM0o+/B2PPJB6G/joQmpofuu6cWZjEsNZJhUwWNPO9L4ZvxYG3oD6bE8ntyKU+7ch66v q6kXxwrIjRJ7VeiFi1GcdM80qTrd8WKjopRhoiNewQ8+M4Cn2uncahoxIEeD7Z5jfp1L zb6D21nt61npV3iDCxTKhecNB4FBVi+xcFV+TXCv9fDSFGMGl5yX1+j2DUr80iPSatZe DRJA== X-Gm-Message-State: AOAM533K/RYrEXL5l6RPbT9BYmGoaGrvy1UKH3WTGnb7LGsatG2wrP3s SuBPNbklaDbEZ3M5q3iZvr09mHLqGTP+/Q== X-Google-Smtp-Source: ABdhPJxtaRkHdoF3s03hHasKwHr/ZvApCHRPjQqz41E+cMyzqVh4bPbT7myJ2hEMR/TLEnR4t8wSBw== X-Received: by 2002:a5d:4587:: with SMTP id p7mr2079900wrq.178.1607599150080; Thu, 10 Dec 2020 03:19:10 -0800 (PST) Received: from sblaptop.fritz.box (ipbcc1aa4b.dynamic.kabel-deutschland.de. [188.193.170.75]) by smtp.gmail.com with ESMTPSA id s133sm8942330wmf.38.2020.12.10.03.19.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Dec 2020 03:19:09 -0800 (PST) From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Thu, 10 Dec 2020 12:16:42 +0100 Message-Id: <20201210111657.2276739-25-andreas.rheinhardt@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201210111657.2276739-1-andreas.rheinhardt@gmail.com> References: <20201210111657.2276739-1-andreas.rheinhardt@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 24/39] avcodec/ituh263dec: Don't initialize unused parts of RLTable 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" The RLTable ff_rl_intra_aic is only used by ituh263dec and ituh263enc; the former only uses the RLTable's VLC, the latter only index_run, max_level and max_run. Yet ituh263dec also initializes the latter. This commit stops doing so. Signed-off-by: Andreas Rheinhardt --- libavcodec/ituh263dec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/ituh263dec.c b/libavcodec/ituh263dec.c index eec86c81b1..0d1138512c 100644 --- a/libavcodec/ituh263dec.c +++ b/libavcodec/ituh263dec.c @@ -122,7 +122,6 @@ av_cold void ff_h263_decode_init_vlc(void) &ff_mvtab[0][1], 2, 1, &ff_mvtab[0][0], 2, 1, 538); ff_rl_init(&ff_h263_rl_inter, ff_h263_static_rl_table_store[0]); - ff_rl_init(&ff_rl_intra_aic, ff_h263_static_rl_table_store[1]); INIT_VLC_RL(ff_h263_rl_inter, 554); INIT_FIRST_VLC_RL(ff_rl_intra_aic, 554); INIT_VLC_STATIC(&h263_mbtype_b_vlc, H263_MBTYPE_B_VLC_BITS, 15,