From 442e6c80bf5cbaf39843319f16ef84af8ce82464 Mon Sep 17 00:00:00 2001 From: tark1998 Date: Wed, 18 Mar 2026 14:56:57 +0900 Subject: [PATCH] avformat/mov: add m4v to allowed extensions M4V is a standard extension for MPEG-4 video files, commonly used by Apple devices and software. While it is functionally similar to MP4, it was missing from the list of recognized extensions for the MOV/MP4 demuxer. --- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 9cfba7d1c1..dbf68a0971 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -11797,7 +11797,7 @@ const FFInputFormat ff_mov_demuxer = { .p.name = "mov,mp4,m4a,3gp,3g2,mj2", .p.long_name = NULL_IF_CONFIG_SMALL("QuickTime / MOV"), .p.priv_class = &mov_class, - .p.extensions = "mov,mp4,m4a,3gp,3g2,mj2,psp,m4b,ism,ismv,isma,f4v,avif,heic,heif", + .p.extensions = "mov,mp4,m4a,3gp,3g2,mj2,psp,m4v,m4b,ism,ismv,isma,f4v,avif,heic,heif", .p.flags = AVFMT_NO_BYTE_SEEK | AVFMT_SEEK_TO_PTS | AVFMT_SHOW_IDS, .priv_data_size = sizeof(MOVContext), .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,