From patchwork Fri Nov 27 01:02:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 24061 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 8A25F44A929 for ; Fri, 27 Nov 2020 03:07:04 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6F64268B9D1; Fri, 27 Nov 2020 03:07:04 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9FBF468B9A0 for ; Fri, 27 Nov 2020 03:06:56 +0200 (EET) Received: by mail-wr1-f66.google.com with SMTP id i2so3944737wrs.4 for ; Thu, 26 Nov 2020 17:06:56 -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 :mime-version:content-transfer-encoding; bh=YnoPahTZZbaduCu/GGyrYF+nYk33AFqSthrC9Nsyu60=; b=vIry3VFH76gkYe+Vj6+RNQgyleyk8TL75dtlDLrY370+ms9ZBRa2uq4UYjrWvRKgJZ ky9tuZVAIyA8BlZIpiVUH6Z2GSW5Va129nBxulyhOJUT9uu18P6Z3H3ayUm+M6gA8tQ8 ZQaOLBRdxydxG0nuVSdf5qqVP0+P5cNV0T34k8gVhtoKz94ijACa/oZPAuss0ZoBB3VJ ULl2Zhf1wRRspmr45edelGGb60YNmUjkaFuJyz+g/DrsrXGelxYt04IfS0Nk3u00Svxl ubYH7UaYA4qS+DY+jzAqs9AFKWsbEyLZlHa7QtXil/cIt3hZi5yb5oEgTshLp0nhmXOh ZNbQ== 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=YnoPahTZZbaduCu/GGyrYF+nYk33AFqSthrC9Nsyu60=; b=b9JXu5a95e+IBrG1V/bvUwueb+ka8zfJXELtxtBSVoB8N5In0eMolC13zmCgBa+oDx JNLiP7tHWbFSgQn2fTWMHaHAOeDGoIlbrp6r2YsJ58bKSV6vpcO0a5LaE8U543aFm+c/ klCaO1IQYrzhsZWf7ehdL46up6KSMZY3LEA9GfRjVbrYKWJ3H+xKO2w4ytBGbbrW8bC1 l6DXqivi3Ja4OgIMF+jwtzlTPSWu76xUwrNH/bYpo8OHqm4KqFuUwHEycsv8tcAn0tZP awp6DHfyU7FZxX06ses/hXPT6PLkzGPC2zt2at65TSv2B2KKgHS1EriaIyPOaRyX62aT xiBw== X-Gm-Message-State: AOAM531QzAAGaKMPsUQb1UwHn75xvdbMPixbiZS4LvOC1vL7v8PsYgWa iGY7T+k143yjeN8nYL4f18EczrEz7WlxLQ== X-Google-Smtp-Source: ABdhPJwuyQ88quxxrNoVipxH7H69eNhIq2TRKwvEF4034v8H06AGzzelH9XPJ2LQpUEIs3jokZVwQQ== X-Received: by 2002:adf:ee41:: with SMTP id w1mr7236202wro.382.1606439215978; Thu, 26 Nov 2020 17:06:55 -0800 (PST) Received: from sblaptop.fritz.box (ipbcc1aa4b.dynamic.kabel-deutschland.de. [188.193.170.75]) by smtp.gmail.com with ESMTPSA id l8sm10504450wro.46.2020.11.26.17.06.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 17:06:55 -0800 (PST) From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Fri, 27 Nov 2020 02:02:19 +0100 Message-Id: <20201127010249.2724610-15-andreas.rheinhardt@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201127010249.2724610-1-andreas.rheinhardt@gmail.com> References: <20201127010249.2724610-1-andreas.rheinhardt@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 15/45] avcodec/xan: Mark decoder as init-threadsafe 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" Signed-off-by: Andreas Rheinhardt --- libavcodec/xan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/xan.c b/libavcodec/xan.c index 5318aab797..6bf754f151 100644 --- a/libavcodec/xan.c +++ b/libavcodec/xan.c @@ -645,5 +645,5 @@ AVCodec ff_xan_wc3_decoder = { .close = xan_decode_end, .decode = xan_decode_frame, .capabilities = AV_CODEC_CAP_DR1, - .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, + .caps_internal = FF_CODEC_CAP_INIT_CLEANUP | FF_CODEC_CAP_INIT_THREADSAFE, };