From patchwork Mon Oct 19 11:07:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 23080 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 5DE2E44BBC9 for ; Mon, 19 Oct 2020 14:07:23 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4177068B6EB; Mon, 19 Oct 2020 14:07:23 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D85F468B747 for ; Mon, 19 Oct 2020 14:07:16 +0300 (EEST) Received: by mail-wm1-f66.google.com with SMTP id j136so12377897wmj.2 for ; Mon, 19 Oct 2020 04:07:16 -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 :mime-version:content-transfer-encoding; bh=2/8ha9Qg+qqmqATfQ1brQC6UzkoeQxF89DuVz5Z0jG0=; b=l5ISb3Y5gHDn58owJ3RNJsCEsZkg1yAEdqV2mUaTeSxgSCyT+cw2Yod2hMWtdrA+r+ 112GrHgDBKKMxRSijuDrMC25JWzqCMk3ZgfvIiQRZBcRFyAEwVV6syfIcYtmXrelPGdR bHLjLeWLq55dj8kpA0va29AjxnBDJZFwWWbeQSbr6TF1WU4ukQZDsvprCtpSRyGvQPvt QJRNL6Oshz/v9VKb0phi7znF5AgRLmIfovfO4lS6QEOG0ZqwhWEcPmZtSnZMDXfY2HPx yhmGPl/I5rh/Kj8R61xGsXxtt72alhStymlI42hxDpb31nfcLi47d4pY10nD48XiuBFi EQag== 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:mime-version:content-transfer-encoding; bh=2/8ha9Qg+qqmqATfQ1brQC6UzkoeQxF89DuVz5Z0jG0=; b=OtwZKLhrhReuVHM7Prc4zpUd3RwxqaEsWCFkfGAqk/NJs/b6VhQ1uHSgv/dxpO7y+Y h6cn/wEebbGOs7XWXaGd3fYlPuLwCvdf415zyMVlUJ+b7a/VL0kMh+0B3NkMhetAUR05 BXbjk5Fi5X+KHZ5zZLgCRDK++XyheYc3fMDX6tvTGcmqxaGr/wufa4mgDZAqEHrLyRNg 4Xmw4Dei6M+MlDD9LQ2+4ef6uRdCuB0iUr2ks78boxafrEec304rnJIfVeapcInitpTl tVgkiTr8vMM4BFBplXry3AP22TjmeDwmHtBmNYHpPIPbJG8T0Qe2Rx1kTP6rMsSbHclP gW8g== X-Gm-Message-State: AOAM5310qXMfEQhU234FEkHDHiWQ4pFyf/HMQhcg3qLVHIpbc/qF75n7 M08zonZvveJELgqR+SLb0rNVs6qwR6k= X-Google-Smtp-Source: ABdhPJxGPexX20lo1Ee5zlF1YWOeXg7mo/ruJPte6tAHCGeBLSc11rVo7MA9ZH9QWiglVtpm+DQtJg== X-Received: by 2002:a7b:c309:: with SMTP id k9mr16434699wmj.125.1603105635973; Mon, 19 Oct 2020 04:07:15 -0700 (PDT) Received: from sblaptop.fritz.box (ipbcc1aa4b.dynamic.kabel-deutschland.de. [188.193.170.75]) by smtp.gmail.com with ESMTPSA id f14sm17130948wrt.53.2020.10.19.04.07.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Oct 2020 04:07:15 -0700 (PDT) From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Mon, 19 Oct 2020 13:07:06 +0200 Message-Id: <20201019110706.857212-2-andreas.rheinhardt@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201018064004.667741-1-andreas.rheinhardt@gmail.com> References: <20201018064004.667741-1-andreas.rheinhardt@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 5/5] avcodec/on2avc: Remove redundant code for freeing 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" This decoder has the FF_CODEC_CAP_INIT_CLEANUP set. Signed-off-by: Andreas Rheinhardt --- libavcodec/on2avc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/on2avc.c b/libavcodec/on2avc.c index 3b566e1e4b..2453343be9 100644 --- a/libavcodec/on2avc.c +++ b/libavcodec/on2avc.c @@ -978,7 +978,6 @@ static av_cold int on2avc_decode_init(AVCodecContext *avctx) return 0; vlc_fail: av_log(avctx, AV_LOG_ERROR, "Cannot init VLC\n"); - on2avc_free_vlcs(c); return AVERROR(ENOMEM); }