Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH] avformat/matroskadec: Accept WebVTT subtitles with empty cues
@ 2025-05-20  9:26 Marcos Del Sol Vives via ffmpeg-devel
  2025-05-22 22:57 ` Michael Niedermayer
  0 siblings, 1 reply; 2+ messages in thread
From: Marcos Del Sol Vives via ffmpeg-devel @ 2025-05-20  9:26 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Marcos Del Sol Vives

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".

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [FFmpeg-devel] [PATCH] avformat/matroskadec: Accept WebVTT subtitles with empty cues
  2025-05-20  9:26 [FFmpeg-devel] [PATCH] avformat/matroskadec: Accept WebVTT subtitles with empty cues Marcos Del Sol Vives via ffmpeg-devel
@ 2025-05-22 22:57 ` Michael Niedermayer
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Niedermayer @ 2025-05-22 22:57 UTC (permalink / raw)
  To: FFmpeg development discussions and patches


[-- Attachment #1.1: Type: text/plain, Size: 468 bytes --]

On Tue, May 20, 2025 at 11:26:21AM +0200, Marcos Del Sol Vives via ffmpeg-devel wrote:
> Fixes: #11493
> ---
>  libavformat/matroskadec.c | 3 ---
>  1 file changed, 3 deletions(-)

will apply

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 251 bytes --]

_______________________________________________
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".

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-05-22 22:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-20  9:26 [FFmpeg-devel] [PATCH] avformat/matroskadec: Accept WebVTT subtitles with empty cues Marcos Del Sol Vives via ffmpeg-devel
2025-05-22 22:57 ` Michael Niedermayer

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git