From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 7EDA64A202 for ; Tue, 20 May 2025 09:27:07 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id AD00E68D59D; Tue, 20 May 2025 12:27:03 +0300 (EEST) Received: from smtpout9.mo534.mail-out.ovh.net (smtpout9.mo534.mail-out.ovh.net [178.33.251.187]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 3A63368D230 for ; Tue, 20 May 2025 12:26:57 +0300 (EEST) Received: from director2.derp.mail-out.ovh.net (director2.derp.mail-out.ovh.net [79.137.60.36]) by mo534.mail-out.ovh.net (Postfix) with ESMTPS id 4b1q283s7Sz1NXh; Tue, 20 May 2025 09:26:56 +0000 (UTC) Received: from director2.derp.mail-out.ovh.net (director2.derp.mail-out.ovh.net. [127.0.0.1]) by director2.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for ; Tue, 20 May 2025 09:26:56 +0000 (UTC) Received: from mta2.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.110.96.179]) by director2.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4b1q2828cpz1xwJ; Tue, 20 May 2025 09:26:56 +0000 (UTC) Received: from orca.pet (unknown [10.1.6.0]) by mta2.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id D46B9BA4042; Tue, 20 May 2025 09:26:55 +0000 (UTC) X-OVh-ClientIp: 147.156.42.5 To: ffmpeg-devel@ffmpeg.org Date: Tue, 20 May 2025 11:26:21 +0200 Message-Id: <20250520092621.1119568-1-marcos@orca.pet> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Ovh-Tracer-Id: 5395312353771935318 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdefvdefkeelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpeforghrtghoshcuffgvlhcuufholhcugghivhgvshcuoehmrghrtghoshesohhrtggrrdhpvghtqeenucggtffrrghtthgvrhhnpefghffgfeevgffhteevvefghfelffejvdejkeeijeegieduvdffteeijeejjefggeenucfkphepuddvjedrtddrtddruddpudegjedrudehiedrgedvrdehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehmrghrtghoshesohhrtggrrdhpvghtpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepfhhfmhhpvghgqdguvghvvghlsehffhhmphgvghdrohhrghdprhgtphhtthhopehmrghrtghoshesohhrtggrrdhpvghtpdfovfetjfhoshhtpehmohehfeegmgdpmhhouggvpehsmhhtphhouhht Subject: [FFmpeg-devel] [PATCH] avformat/matroskadec: Accept WebVTT subtitles with empty cues 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: , From: Marcos Del Sol Vives via ffmpeg-devel Reply-To: FFmpeg development discussions and patches Cc: Marcos Del Sol Vives Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Fixes: #11493 --- libavformat/matroskadec.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 29e35e6dd4..2750652c51 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -3824,9 +3824,6 @@ static int matroska_parse_webvtt(MatroskaDemuxContext *matroska, text_len = len; } - if (text_len <= 0) - return AVERROR_INVALIDDATA; - err = av_new_packet(pkt, text_len); if (err < 0) { return err; -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".