aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorDawid Kozinski <d.kozinski@samsung.com>2023-06-15 13:48:59 +0200
committerJames Almer <jamrial@gmail.com>2023-06-15 09:57:41 -0300
commit091705cd55afe08f0c85d673dc924856fef9ae6e (patch)
tree87b926f3bbec0a36579ec673db213e6c2fce8700 /libavformat/mov.c
parenta04ca05f4c62b219f643cb769d839a6737cd5c84 (diff)
downloadffmpeg-091705cd55afe08f0c85d673dc924856fef9ae6e.tar.gz
avformat/mov_demuxer: Extended MOV demuxer to handle EVC video content
- Added evc extension to the list of extensions for ff_mov_demuxer Signed-off-by: Dawid Kozinski <d.kozinski@samsung.com>
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index a8d004e02b..278dec6765 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -2646,6 +2646,7 @@ static int mov_finalize_stsd_codec(MOVContext *c, AVIOContext *pb,
case AV_CODEC_ID_VP9:
sti->need_parsing = AVSTREAM_PARSE_FULL;
break;
+ case AV_CODEC_ID_EVC:
case AV_CODEC_ID_AV1:
/* field_order detection of H264 requires parsing */
case AV_CODEC_ID_H264:
@@ -7932,6 +7933,7 @@ static const MOVParseTableEntry mov_default_parse_table[] = {
{ MKTAG('i','l','o','c'), mov_read_iloc },
{ MKTAG('p','c','m','C'), mov_read_pcmc }, /* PCM configuration box */
{ MKTAG('p','i','t','m'), mov_read_pitm },
+{ MKTAG('e','v','c','C'), mov_read_glbl },
{ 0, NULL }
};