Message ID | 20230125165537.5371-15-anton@khirnov.net |
---|---|
State | Accepted |
Commit | 476ec7787030b58a5ddb4226d5d5bdba1801c207 |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3ca3:b0:b9:1511:ac2c with SMTP id b35csp546884pzj; Wed, 25 Jan 2023 08:57:47 -0800 (PST) X-Google-Smtp-Source: AMrXdXvlbIZOPZ3Bra2CPo8AJoMvo5VxrGlQC0gJ3OoC5nbcaKp+M17HhTcwBD4tusSk2tlU0TIJ X-Received: by 2002:a17:906:7c3:b0:870:95b6:94a4 with SMTP id m3-20020a17090607c300b0087095b694a4mr33012689ejc.48.1674665866937; Wed, 25 Jan 2023 08:57:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674665866; cv=none; d=google.com; s=arc-20160816; b=R20JSCHTgVMmUhxIHbW9rclNhB5PApN+MXmSF9159iEOoOP88fF8w98Y6RXHYdOpy6 xj5frjTAGtki7xtMtByV76/0cKtCjCGnqC8Q4DWh/4OidxbsmxDA/4rw0Gl2w0aeoDwD t21R/b9sJx+JF0EqHMVtyOTqOx6d1Sgvn6+Qq9aFGN57zV9gN46OpT91/s+OlzVZl2xH E7OZZ5JbcZKZA9bAhX3A6v2suIHFGpRG6rCCGUEDL945KEFSzp9om9DcX2W9Cak33mm0 62gFDX5yguwkJopNZ7sz9ZVWchX5MHubkuzJ64Xep9piaGWS1wZ2vIXS9P25YqCDWFTU BFOg== 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:delivered-to; bh=rvCm1FJoI+4wMC0Ui8mdXRsEAj5kbYpQR/46qmjRKGg=; b=WA98acjkrJRBPZAY2til6T/ftHqtcPRgSeWhDDVJ3st0zb74SbT3juGUb3db3vyLom C9zM9ApRNX8awEHIo4BAHndzzVCXmNgmWBQD5sgnIrm9G2vIaHfKwflEM/CRXvrx6v+6 pXPG/ahLWj6z9/eH6hruh4fGBYhyW7+2nm7p+iiDQFtLSBJ3P9REPaYIYzSBN9LYpojH kTK+05Zeu/3TqQ2ZUFcZct36bhAtpMI+d4Qt8r+tMC2hGAslFYrD2kPmf05DGerHj55c Ll9eSD7rGRMEG+2XGLtMpXCpjX36aDhRxrVzp99vVeTw08/MKvGxI8agydAm0s8YAtAM gG3A== 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: <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 fx36-20020a1709069ea400b0087752be1da1si6574817ejc.791.2023.01.25.08.57.46; Wed, 25 Jan 2023 08:57:46 -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; 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 48A5268BDF2; Wed, 25 Jan 2023 18:56:30 +0200 (EET) 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 C9A8068BD50 for <ffmpeg-devel@ffmpeg.org>; Wed, 25 Jan 2023 18:56:21 +0200 (EET) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 93D23240178 for <ffmpeg-devel@ffmpeg.org>; Wed, 25 Jan 2023 17:56:21 +0100 (CET) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id hLCTj-kXl-8f for <ffmpeg-devel@ffmpeg.org>; Wed, 25 Jan 2023 17:56:21 +0100 (CET) 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 5281A240D03 for <ffmpeg-devel@ffmpeg.org>; Wed, 25 Jan 2023 17:56:05 +0100 (CET) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 33F703A04C3 for <ffmpeg-devel@ffmpeg.org>; Wed, 25 Jan 2023 17:55:59 +0100 (CET) From: Anton Khirnov <anton@khirnov.net> To: ffmpeg-devel@ffmpeg.org Date: Wed, 25 Jan 2023 17:55:33 +0100 Message-Id: <20230125165537.5371-15-anton@khirnov.net> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230125165537.5371-1-anton@khirnov.net> References: <20230125165537.5371-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 15/19] lavc/libwebpenc_animencoder: stop setting dts unnecessarily 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: jxN5AmjhifCl |
Series |
[FFmpeg-devel,01/19] lavc/avcodec: improve enc/dec API doxy
|
expand
|
diff --git a/libavcodec/libwebpenc_animencoder.c b/libavcodec/libwebpenc_animencoder.c index 0f2c190c8c..977f880d6c 100644 --- a/libavcodec/libwebpenc_animencoder.c +++ b/libavcodec/libwebpenc_animencoder.c @@ -77,7 +77,7 @@ static int libwebp_anim_encode_frame(AVCodecContext *avctx, AVPacket *pkt, memcpy(pkt->data, assembled_data.bytes, assembled_data.size); WebPDataClear(&assembled_data); s->done = 1; - pkt->pts = pkt->dts = s->first_frame_pts; + pkt->pts = s->first_frame_pts; *got_packet = 1; return 0; } else {