Message ID | 20240223143115.16521-21-anton@khirnov.net |
---|---|
State | New |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:26a3:b0:19e:cdac:8cce with SMTP id h35csp994512pze; Fri, 23 Feb 2024 06:35:39 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUzZKOG/SvdmGzkPM6C6T1tZw7k4yTt4dk8xhj2DLVVmawiQPSxSUzSZw6sysS/wjBgjmsy+9JPK8wifuQSQYCVnQHSAXS5QrwlBw== X-Google-Smtp-Source: AGHT+IFvZr+o+CGsrwSLPzRW0iSdsia9bGHlKegUhR8EooOXHWZSslJq81K7JCUPsiMJBJniRcnr X-Received: by 2002:a17:906:aec7:b0:a3f:1328:90b0 with SMTP id me7-20020a170906aec700b00a3f132890b0mr1364447ejb.71.1708698939410; Fri, 23 Feb 2024 06:35:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1708698939; cv=none; d=google.com; s=arc-20160816; b=W5DezG/dkTI7+wU+dWSS+wCq7oGD3kbTwoJtrv7HMUD3mk5LoaDlHYos5rYeMrC1cn Tj0LbGeYrELwSaW2PBNXN8jKgiKtaPY3/sdWbJN1Ql0+m6vcaZcYREpZoxbCUPQRwDMz O6g9DTkeFOWugRJ0aI213MtlDGEAKLXAIL7xjKAy1wxDavkK27NLQRy8A9MatSw1TAOF 0DDs2YCOxw4wds+JBeQq/VHCxGaCkLeLVe9vK0OUprRYPbtUxM6/hrSTc07FSybRhYHw 6cpxAN+lwZrjYIqkR6z6EhImmzrZvDRSmkdl6iVo/ATz2FBScDuJv6jpLHG4Ht0jQ0W8 LyXA== 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=Kuf0GhxFTAF0PlC1LIxtm8pmbFTfquPvaklsCVYcdLY=; fh=YOA8vD9MJZuwZ71F/05pj6KdCjf6jQRmzLS+CATXUQk=; b=zLkdY2s5c0BZ7sBCk+/eGNcbznxpxYRKSD1DUHa9w47CbPpF4BwJdGu6PNXZWoVOSK 1TmXr00Dr5jwEaVeeNs8YXsFD2R+HZC5FgKWomrk3yKrgh+oygtw0XpnWkugBvKYtu05 +EsySg51CU21Rs7VamrGfq/u6dVXBXHN9miHEYs+sgwCas9+VbFivJqqIrPxSn9QzXdr yrL9HzBStNdDzitrKG19AAwyWqzJmYCoBK4+z1ZFJLo+RjGvby21+zDjGopKOvUtD+lT W+vp4R23IKBYex/rRdLzjMExZA4aWBx4aC7SaT5mZnht2AZX5DHue5dFNkvVRSI2EHiG mnZQ==; 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="qDK/29SK"; 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 p9-20020a1709060dc900b00a3fa6c624absi942321eji.866.2024.02.23.06.35.39; Fri, 23 Feb 2024 06:35:39 -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="qDK/29SK"; 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 AA4E968CBBD; Fri, 23 Feb 2024 16:32:06 +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 303FE68C6D5 for <ffmpeg-devel@ffmpeg.org>; Fri, 23 Feb 2024 16:31:36 +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=qDK/29SK; dkim-atps=neutral Received: from localhost (mail1.khirnov.net [IPv6:::1]) by mail1.khirnov.net (Postfix) with ESMTP id BD5524D51 for <ffmpeg-devel@ffmpeg.org>; Fri, 23 Feb 2024 15:31:33 +0100 (CET) Received: from mail1.khirnov.net ([IPv6:::1]) by localhost (mail1.khirnov.net [IPv6:::1]) (amavis, port 10024) with ESMTP id xj96kiUu7nyr for <ffmpeg-devel@ffmpeg.org>; Fri, 23 Feb 2024 15:31:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=khirnov.net; s=mail; t=1708698687; bh=Mki37ip43QbhOnzR6Ayjcq71Ubtal3JWnyRqr6P/RLY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qDK/29SKY7bzeTIyFfpUTcofhBvyWbD083F29yqh1UTjN92yD1IrJ53fFD84WYiqe qOloo2mv7e2kvTeUxnepemQ3Ifsy5OcgC2/c/Z/hWtLnx3l5WqTPZ16NNZMhyap/nC vaZye4En9P1pUlKNF75ydzMLfnqOCmcmv9poxhKUMoKENIcBnbBBYfoK0qSMFEV7JJ HsruAId5dC4WXBAyWF1I0STCHvzyi4PJmP3Lyp1T2hoFKGhWQa0htOdYpH3aVXifQp hP1IjSqzS6/ZQAat6TfVTRqCbC4WcN9jTG3xVw2nJrRVnEllhqdRCMfX9lh6Zu0Z4E fSfU+4wgtoQEg== 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 C2A4B4D4D for <ffmpeg-devel@ffmpeg.org>; Fri, 23 Feb 2024 15:31:27 +0100 (CET) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id BBEE23A1EC8 for <ffmpeg-devel@ffmpeg.org>; Fri, 23 Feb 2024 15:31:22 +0100 (CET) From: Anton Khirnov <anton@khirnov.net> To: ffmpeg-devel@ffmpeg.org Date: Fri, 23 Feb 2024 14:58:42 +0100 Message-ID: <20240223143115.16521-21-anton@khirnov.net> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20240223143115.16521-1-anton@khirnov.net> References: <20240223143115.16521-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 20/38] 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: WdK9hHsRBRHm |
Series |
[FFmpeg-devel,01/38] lavu/opt: cosmetics, change option flags to (1 << N) style
|
expand
|
Context | Check | Description |
---|---|---|
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(-)