From f18123ea15c0576f88ed1861c764fee46a609b41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 3 May 2025 18:24:49 +0300 Subject: [PATCH] qtdemux: Remove obsolete TODO comment Part-of: --- subprojects/gst-plugins-good/gst/isomp4/qtdemux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-good/gst/isomp4/qtdemux.c b/subprojects/gst-plugins-good/gst/isomp4/qtdemux.c index ed2f844519..773e24f435 100644 --- a/subprojects/gst-plugins-good/gst/isomp4/qtdemux.c +++ b/subprojects/gst-plugins-good/gst/isomp4/qtdemux.c @@ -13436,7 +13436,8 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak, guint32 * mvhd_matrix) stream->display_height = h >> 16; offset = 16; - if (len < 86) /* TODO verify */ + /* sample description entry (16) + visual sample description (70) */ + if (len < 86) goto corrupt_file; entry->width = QT_UINT16 (stsd_entry_data + offset + 16);