[FFmpeg-devel] [PATCHv2 3/3] avformat/mlvdec: skip over some other known block types
Peter Ross
pross at xvid.org
Sun Dec 22 09:41:02 EET 2024
---
libavformat/mlvdec.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavformat/mlvdec.c b/libavformat/mlvdec.c
index a786f73fba..96a666e243 100644
--- a/libavformat/mlvdec.c
+++ b/libavformat/mlvdec.c
@@ -263,9 +263,12 @@ static int scan_file(AVFormatContext *avctx, AVStream *vst, AVStream *ast, int f
unsigned int length = avio_rl32(pb);
read_string(avctx, pb, "version", length);
size -= length + 4;
+ } else if (type == MKTAG('D','A','R','K')) {
+ } else if (type == MKTAG('D','I','S','O')) {
} else if (type == MKTAG('M','A','R','K')) {
} else if (type == MKTAG('N','U','L','L')) {
} else if (type == MKTAG('M','L','V','I')) { /* occurs when MLV and Mnn files are concatenated */
+ } else if (type == MKTAG('R','A','W','C')) {
} else {
av_log(avctx, AV_LOG_INFO, "unsupported tag %s, size %u\n",
av_fourcc2str(type), size);
--
2.45.2
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241222/a0af1401/attachment.sig>
More information about the ffmpeg-devel
mailing list