From patchwork Fri Mar 25 22:54:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Gaullier X-Patchwork-Id: 34676 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:ab0:5fda:0:0:0:0:0 with SMTP id g26csp1469661uaj; Fri, 25 Mar 2022 15:55:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqcL5XqIULLE8TL3pQFUmTjO1C73k09JUAtQxU2ctXpklVp9E9DI80UqJdA1Z7Z75XtAc+ X-Received: by 2002:a05:6402:84b:b0:419:105:f516 with SMTP id b11-20020a056402084b00b004190105f516mr1242762edz.3.1648248908835; Fri, 25 Mar 2022 15:55:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648248908; cv=none; d=google.com; s=arc-20160816; b=BIl9tfD1EQSQhpleWjVBscahj3CWf0FQfR8daVsbG8nOZzt8cQlWxpYsxkW2uM/GxN Goyrwy8E4U8RnSvU+AVf97zJ1AKDGsXou2KLIfM/gIPrDMcg3lI0kbK8yrsPQ8V4R8PB 6tR9pMNAH+dON13Q27V4BNgDSpZaQZORTbdpn9KUThNteyXM+SHG1thSVy/T3kKn/sIj lX46NPd99cdk2xfaUI2e5GkFHXgLEyvzq6tsIRhwssVXWsed9mM6MoXnyY9rAz88L2UC rZCuIT8SqbtKszJoKCRCGO/0NmDKSMJjjwmqlBi8n8FlYhBNMspIJlwg+G9W00TjXmag 1nKw== 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 :delivered-to; bh=w6O8ZCV1PoXCnXMcrpBomumzUhmwQSbxhjED1TkEAz0=; b=qAjKiRA1vniu/po3QjmYv7Y44LSKOyDCfmu6Ny5goxn8n9vpDX/x6PAucuJejhonLL kZirkNwPAGtcjtbK6695euIzl+N1p8ExhChlxoICYfTCyYRF9cAT/pw21OwRcaW8yDHN N0BOdOtPN6dLdNaHH9yAkvm+p0UR0iNZHIORGgRvek8/lIqer4XcgKdRCZXBYqI3Rys7 rKT8SfnNafbinIi7DVyhtTyusGTLzhV4LrHPccinPotY6lgn4BXAv7V+yWiWihR2aieS x3LH7TlUeUk69mlxHgDqifIPgXHhHwXcYEFE2tjbuD9buO5bSYBIIOYUFyTm2PMj2Sxx BCVQ== 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 n5-20020a170906700500b006dfb3e6b82csi3930118ejj.877.2022.03.25.15.55.08; Fri, 25 Mar 2022 15:55:08 -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 D0DE668B19F; Sat, 26 Mar 2022 00:55:05 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from srv-infra-1.infra.inf.glb.tvvideoms.com (www.inf.tvvideoms.com [213.205.126.156]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7415068008C for ; Sat, 26 Mar 2022 00:54:59 +0200 (EET) Received: from cji.paris (unknown [172.16.3.159]) by srv-infra-1.infra.inf.glb.tvvideoms.com (Postfix) with ESMTP id D8BE5215DE; Fri, 25 Mar 2022 22:54:56 +0000 (UTC) From: Nicolas Gaullier To: ffmpeg-devel@ffmpeg.org Date: Fri, 25 Mar 2022 23:54:50 +0100 Message-Id: <20220325225452.47-1-nicolas.gaullier@cji.paris> X-Mailer: git-send-email 2.34.0.windows.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v5 0/2] lavf/mpegenc: fixes 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: Nicolas Gaullier Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: Vk41W4v5of7a The first patch is left unchanged since v4. The second has been totally reworked after some investigations advised by Andreas. Nicolas Gaullier (2): lavf/mpegenc: fix ever-growing fifo size since the new API lavf/mpegenc: fix termination on error conditions libavformat/mpegenc.c | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-)