From patchwork Thu Jun 8 14:26:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Izen X-Patchwork-Id: 34932 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:c526:b0:117:ac03:c9de with SMTP id gm38csp438302pzb; Thu, 8 Jun 2023 07:26:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ582PLHznJ6cL237paOudp9VDYlA5rycDHd7kk7CBidv5jE1V9BDDY0oWSouEImLKoozFWf X-Received: by 2002:a17:907:1606:b0:973:91f7:508a with SMTP id hb6-20020a170907160600b0097391f7508amr9478030ejc.4.1686234411125; Thu, 08 Jun 2023 07:26:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686234411; cv=none; d=google.com; s=arc-20160816; b=VvYKKHXAeBLZ06lgpdFA3Xmw5+BpvgXuzJ+JO7/5d32k+RvJj0VNJgaymSayhSfERv vWHF40hi0yiRUei3DBFY4sli1mfnD86oNpyhqdM45LuQ76AEBeL+ctCucSzdSLq9UD4s xruFAojN1ngnZMbs+Cny4yOcWoo+cGIrxee8SUIpSJzjseH03PCHBKdA8aNXXoxwlcGI 1YiDwc0wy3XXT6J99UKu5Jff5rECaZStNhstiCkN5K8A1CAdMJafJTwtGaPX6whoK7n7 vBerZIF6fJ7DDkiDy7jjxzC880JLUn3jEk1wRFbipXuqwUdqt1BE+/mKFiO2wIh/Tuy1 0KNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:message-id:date:to:from :dkim-signature:delivered-to; bh=Nude9wDNHhK58H2uAxB12mJG3+x76aoyFGTvpKqhZjo=; b=xzh5Zz4FWiijckAX2TLGLf26U1XM464P+JS0IyPIngzHlNnDDdTf4/qxPtnzXV1IpW /it/KkMXjn9LAyhELUdLgZpdfszGW14fWZGlDbEywO/dJoRaGKmWASM51fg/yuzDf3wY qniszY2pgBeTU0YIOWJTM6J52fVyg+9CixM6XmurRVF3lonRZG9rrId1vUw2xC+++VO5 KK5dyBnf7huB+DcmlXugU5OD8MbY/AaywJ5mwpIPWEJi+YVWOVSaWY2br8E92P4r2Ktd BMv7BEOd4une8wOQwhY2rDuX2EC/fmMhocfm0klc0GFPqGtwPvzu0rsEu1TzTdYAxVkb jjfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20221208 header.b=ElYSEopa; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id qn19-20020a170907211300b00965a46dd290si898002ejb.199.2023.06.08.07.26.50; Thu, 08 Jun 2023 07:26:51 -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; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20221208 header.b=ElYSEopa; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6788268C2EE; Thu, 8 Jun 2023 17:26:47 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-oa1-f41.google.com (mail-oa1-f41.google.com [209.85.160.41]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id CD9CA68C2E3 for ; Thu, 8 Jun 2023 17:26:40 +0300 (EEST) Received: by mail-oa1-f41.google.com with SMTP id 586e51a60fabf-19f84b396b4so140274fac.0 for ; Thu, 08 Jun 2023 07:26:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686234399; x=1688826399; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=o9DFaInzzYNDzKLHWaDvAUvUz0d0ve9uo3jeFYcFrNc=; b=ElYSEopaQYeGd39jTsWxXkSdslk53mO16UVX973ngioCK62NSPi0G5gYEmT1V7Ky/G BEVJ46bFm9r+TI6fijMY2puMWOwWU7rqxGrh49T35FUVCFgNAahV1Adu9+8CHdSsyHPZ Ff34/5J9tZkQcCu3LzoKRkpvhINxZGYf8H1Ck1KfJeYZLs4lnjoFX7BeonMLTrfIZO/t szpL7JcPkL0iynjARvMi2pX4f4kRFVqlnjILFRz+h0C70wzAduk0rnDKQwQr31gowBji uP1LbQvz0sM3Vc2mRtFahWw0TQtdnDiJp882/J3QXmWrQw0+dpxccXCMUpQLnV9d3jlO gUwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686234399; x=1688826399; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=o9DFaInzzYNDzKLHWaDvAUvUz0d0ve9uo3jeFYcFrNc=; b=jM3fX2TZTIIOHF7opXnaBPnStusueXE8Xp5pvDpzBYjAmU0hxAebTW1Pnh+uY+vCBL 2ZLa7m+koDr7kIkK7rL08wUAqRgmKShFP9v+vAfvVU5ygZFf/ptYG0ZreW5x696M5xNd APcuiPKL34vTsvdlec/i8AIapuZuVksDNtO+0xnoIniSniQF7S7ajLE18T1ZUrBJzSew ktwT1USXBNgWF3JJH1sVZT0JLmIMh4kVLWboIV8eHD+a8iEFGUkkgyVPg4p46MLVJYqS lwBZvrO+BnnBrZ/iv7pXfwrQaeqnlOdACXHKENSjp/NKR1VsKkJK6uiuwIVGWKm8MGwH VNwQ== X-Gm-Message-State: AC+VfDxZWc5OSQ77OPbsAILnS/fLQlRE3i3woZIHailvZilFztH9/Gbf KRIWMcYI6ofPyOwAzw+ntcVWC6KAaTw= X-Received: by 2002:a05:6870:8a25:b0:192:75b9:5bf7 with SMTP id p37-20020a0568708a2500b0019275b95bf7mr4047288oaq.2.1686234399102; Thu, 08 Jun 2023 07:26:39 -0700 (PDT) Received: from gauss.local (c-98-224-219-15.hsd1.mi.comcast.net. [98.224.219.15]) by smtp.gmail.com with ESMTPSA id b206-20020a0dd9d7000000b0056943d9cf8fsm414589ywe.9.2023.06.08.07.26.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jun 2023 07:26:38 -0700 (PDT) From: Leo Izen To: ffmpeg-devel@ffmpeg.org Date: Thu, 8 Jun 2023 10:26:32 -0400 Message-Id: <20230608142637.45033-1-leo.izen@gmail.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 0/5] JPEG XL Animation Changes 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 Cc: Leo Izen Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: UpIi/Kd4J2Tt Three patches from michalni copied exactly as is from the ML just placed here for clarity. The two authored by me, the probe change is cosmetic, and the animation dec change fixes the issue referenced a cvslog email: <20230608002033.GF870501@pb2> Leo Izen (2): avformat/jpegxl_probe: inline various ret < 0 checks avformat/jpegxl_anim_dec: avoid overrun with jxlp boxes in container Michael Niedermayer (3): avformat/jpegxl_probe: Remove intermediate macro obfuscation around get_bits*() avformat/jpegxl_probe: check length instead of blindly reading avformat/jpegxl_probe: Forward error codes libavformat/jpegxl_anim_dec.c | 8 +- libavformat/jpegxl_probe.c | 198 ++++++++++++++++++---------------- 2 files changed, 112 insertions(+), 94 deletions(-)