From patchwork Mon Jul 3 19:32:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 34949 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1e:b0:12b:9ae3:586d with SMTP id c30csp4588936pzh; Mon, 3 Jul 2023 12:33:02 -0700 (PDT) X-Google-Smtp-Source: APBJJlFu/XL5LfnTxJOyRGsykShJGnTposDIo0JarynFps3G+RD8CDPro6U7mRVsZzyU/NZoq7BD X-Received: by 2002:a05:6512:200c:b0:4fb:9129:705b with SMTP id a12-20020a056512200c00b004fb9129705bmr7423120lfb.6.1688412782273; Mon, 03 Jul 2023 12:33:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688412782; cv=none; d=google.com; s=arc-20160816; b=vzfw1qsk+sStWYE9T9albfYLIF4b0lO/rml9pghYuX9Rmsn3Y69ks+B5SFj+HNMb0Q wcG0EU1/bj5crrptUGD5yb9volJ9K6VSmo+EEVtyiaTtpgXC62qiUtaLfB4Xa3YVsXCq Yth0uPF+SS9ONkLHsbhIjOK8ihUtcmh+VFzoBC+ci7GSd8QXAYW7r/K0xEimwtdJXD97 IHBCIFZ8eD7gLaipvqbD4FuvPPanPrFpne7FZyiM5sXwvCoO4ySk71asJsL/Qy+89nJQ DOUWFLeyHN9Zt4APH2pCorPtJXNvz2Aw16L6sj/f7sYGjaU0CL6HUCU1+Is5R0K/ovYq U0Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:message-id:date:to:from :delivered-to; bh=Ec+OjrRf8p2lk+HvvbqUln5QZUQTEt/6yX7icgdY0U8=; fh=YOA8vD9MJZuwZ71F/05pj6KdCjf6jQRmzLS+CATXUQk=; b=ZHg8Id7QNDlUEfPFfNxm9LH6JEWpbElG3UWQWYZGfC43MvbfuRPSDICGY+9rB3Saih S67y42l9hJP50JfLxPtEkjlqPtouYuLuhL81NJmWwXFlj5JutlmYLgnQyre7r14sWRmo LlHc040sgqVaVjTMz0p5QMBAVgC8PpNmIHxeXA8iCFjMKEGyEU+twmg4xQ24B5ToVNtJ fM/HRDF+QTzfCMryFNDZsSy8+2Nm8YbTdWuPTjg/Pqe6cMQrnaH/1HvZgz0bvhkZc/0f ykQb2AP1M/HWb5Gq0gfGC5apWEv6SFsobVXgBm6SyPIRqWWqFH5MEMOu2LZJ7gHgvU2/ tPhQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id bo5-20020a0564020b2500b0051dd4dea646si6101190edb.533.2023.07.03.12.33.01; Mon, 03 Jul 2023 12:33:02 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9162268C1E3; Mon, 3 Jul 2023 22:32:58 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8CB6E68C50A for ; Mon, 3 Jul 2023 22:32:52 +0300 (EEST) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 443FC2406CC for ; Mon, 3 Jul 2023 21:32:52 +0200 (CEST) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id uN6-PTkfEqwP for ; Mon, 3 Jul 2023 21:32:51 +0200 (CEST) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:2a00:c500:561:201::7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "libav.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail0.khirnov.net (Postfix) with ESMTPS id D149F2404EA for ; Mon, 3 Jul 2023 21:32:51 +0200 (CEST) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 65CFB3A0153 for ; Mon, 3 Jul 2023 21:32:45 +0200 (CEST) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Mon, 3 Jul 2023 21:32:19 +0200 Message-Id: <20230703193229.8593-1-anton@khirnov.net> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2 00/10] lavc generic-layer private data 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: 1udgWZFw8fL6 * using IS_EMPTY() as suggested by James; * use a different pattern for allocating private data, as suggested by Andreas * rebased against master