[FFmpeg-devel] [PATCH 3/3] avformat/mlvdec: skip over some other known block types
Peter Ross
pross at xvid.org
Fri Dec 13 07:59:34 EET 2024
---
libavformat/mlvdec.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavformat/mlvdec.c b/libavformat/mlvdec.c
index 830e416f57..4f708a7705 100644
--- a/libavformat/mlvdec.c
+++ b/libavformat/mlvdec.c
@@ -253,9 +253,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/20241213/c3aef3f1/attachment.sig>
More information about the ffmpeg-devel
mailing list