Message ID | 20240304130657.30631-11-anton@khirnov.net |
---|---|
State | New |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:a919:b0:19e:cdac:8cce with SMTP id cd25csp2788986pzb; Mon, 4 Mar 2024 05:08:14 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVy5GLJ78IOTlJa0yFMASimUq5SlN1hRbdtdsrHWP7Mwpzoacc2xO3aRY6cT8e60GWi1ivu1Jzok8f0IoYFeBnUgl5OfQkaqtGLcQ== X-Google-Smtp-Source: AGHT+IECOOHSjDx9QvMz67rK96wHhJ4ig5pGsqu52+v1P104wfW2eiRs5K5m54rJi3CNAqYAHsfv X-Received: by 2002:a17:907:a603:b0:a3e:9bce:b5b1 with SMTP id vt3-20020a170907a60300b00a3e9bceb5b1mr7326360ejc.5.1709557694253; Mon, 04 Mar 2024 05:08:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709557694; cv=none; d=google.com; s=arc-20160816; b=DnCeh5ApOr1NmaGYOygvyRQTiYGQ7WbDDoLIK4IT1L2mc9pwalLck6ZOJphEv9VVgQ 0o/utF9B/zbxXKI2/+yWS/xjs47TgztXB0qQqjc66ZCtNZ4yoFmmmG0KQaUaRg1Vba0o NMPmBnvBLRWMroIxxYv4HtdXReWVJPhU+cZROAYWB3Yza/yq11Op1Y1s3NcJ1obuBc/K hAFbPA1WwwCErjdsr6PFbBY89lCLb0kdGx+0FQ2Atv4s0PNeXyzJIMuXKPTjo99Y1gUi SmddplSV5YG4EF/lKwq05y6tVKBtWIKYAAr7N6b4fht6D08rjH7PqHStpJuSnzEIPwGN 7Jxg== 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:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to; bh=vxsDYvlU1xXrBsDnwH+cdQAngAgufeDxqdaM0J5IxrU=; fh=YOA8vD9MJZuwZ71F/05pj6KdCjf6jQRmzLS+CATXUQk=; b=b6Pjpozx016quM5l+8sAJUXfxRMVo3W23hxNJm5qopkebTlYhXU7QQ+/gkHCXOj/OX NyCgQV+pkeRQji6COLPPV6/Ew9gKCxEi59tAf9R62ud/HZhxOn7Sw90v4UHePnjtpfAA jN2+6ZkfzDjf0ejJf2+KFdPTKJu2Nn8pfJIu3sFHsWRhmoCXRwoaGzF6r5vVOr2uvPpX /7+3VrJ9s79DceTQ5CEPvVxzRfpNdmh6pA9Y0J39m6Lvpym84uZA3lz7JFvnTpBxvbtp qCswHSzqvHhqLC0mrbMKl+5k4ofDXKLODhOyUkDsIxWixA4G9LcO0J1zPrK/CsGDCgOa LKDQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@khirnov.net header.s=mail header.b=IpNaGLSw; 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: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id f17-20020a170906139100b00a436d77dac5si4035707ejc.41.2024.03.04.05.08.13; Mon, 04 Mar 2024 05:08:14 -0800 (PST) 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=@khirnov.net header.s=mail header.b=IpNaGLSw; 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 9A9EE68D44F; Mon, 4 Mar 2024 15:07:19 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail1.khirnov.net (quelana.khirnov.net [94.230.150.81]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 680D368D436 for <ffmpeg-devel@ffmpeg.org>; Mon, 4 Mar 2024 15:07:14 +0200 (EET) Authentication-Results: mail1.khirnov.net; dkim=pass (2048-bit key; unprotected) header.d=khirnov.net header.i=@khirnov.net header.a=rsa-sha256 header.s=mail header.b=IpNaGLSw; dkim-atps=neutral Received: from localhost (mail1.khirnov.net [IPv6:::1]) by mail1.khirnov.net (Postfix) with ESMTP id 41E6A4D4D for <ffmpeg-devel@ffmpeg.org>; Mon, 4 Mar 2024 14:07:09 +0100 (CET) Received: from mail1.khirnov.net ([IPv6:::1]) by localhost (mail1.khirnov.net [IPv6:::1]) (amavis, port 10024) with ESMTP id u26B1fIgKSIw for <ffmpeg-devel@ffmpeg.org>; Mon, 4 Mar 2024 14:07:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=khirnov.net; s=mail; t=1709557626; bh=7cXRQ/RSLlS1a64ID7ypeyNga0UUbqD0+UrzvPHerkQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=IpNaGLSwj48uUJsIIZM2Wcq8Nz/OqePVn4M0MFZ/rjA1XHC+dX0LlbabIji5FC5bG 5ASB/TnUsvFp/5/sdnYWlMBNDyvDOFVKhTZEtNuvU/yQfIxpcBTIjdrqz1/TM3m0Pe c5SLBD0Y+ibYD8OySBZUYKwrrz0gy6CIYEjVZmzILjiM93ovqxRqycPd4e/bESFxId DdeIGytDFiWsg3KJ19BoZhbzquCAjzDqyyyz2paRym1BhFh6A8aJ7nuDiqtjVQqyxp n915AQ0J0w6lYJBwRCZkA2I6ulyb8Hkre/kFgJZUb0+cL0tww/t1fqwl7cVkdxZpIr IrOb9OlkTiaPw== 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 mail1.khirnov.net (Postfix) with ESMTPS id 7C79F4D59 for <ffmpeg-devel@ffmpeg.org>; Mon, 4 Mar 2024 14:07:06 +0100 (CET) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 5D60A3A0FB8 for <ffmpeg-devel@ffmpeg.org>; Mon, 4 Mar 2024 14:07:00 +0100 (CET) From: Anton Khirnov <anton@khirnov.net> To: ffmpeg-devel@ffmpeg.org Date: Mon, 4 Mar 2024 14:06:26 +0100 Message-ID: <20240304130657.30631-11-anton@khirnov.net> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240304130657.30631-1-anton@khirnov.net> References: <20240304130657.30631-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 11/29] avcodec/cri: respect side data preference X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> X-TUID: r6fkE/7Z6l0r |
Series |
[FFmpeg-devel,01/29] lavu/opt: factor per-type dispatch out of av_opt_get()
|
expand
|
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavcodec/cri.c b/libavcodec/cri.c index c4eb468610..990e52ac99 100644 --- a/libavcodec/cri.c +++ b/libavcodec/cri.c @@ -398,8 +398,8 @@ skip: } if (hflip || vflip) { - rotation = av_frame_new_side_data(p, AV_FRAME_DATA_DISPLAYMATRIX, - sizeof(int32_t) * 9); + ff_frame_new_side_data(avctx, p, AV_FRAME_DATA_DISPLAYMATRIX, + sizeof(int32_t) * 9, &rotation); if (rotation) { av_display_rotation_set((int32_t *)rotation->data, 0.f); av_display_matrix_flip((int32_t *)rotation->data, hflip, vflip);
From: Niklas Haas <git@haasn.dev> This function was already ignoring OOM errors. --- libavcodec/cri.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)