aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorNicolas Gaullier <nicolas.gaullier@cji.paris>2021-09-10 11:34:10 +0200
committerJames Almer <jamrial@gmail.com>2021-09-23 10:35:09 -0300
commit8a3f8afa4e46011e9c5849f8e0d57ec9b53deef7 (patch)
treea055943199f49cdf3dcda8354f98fd0c22f7d5e6 /libavformat
parentdaf04868d8a20d25d5fc664e26137ddfabd4d40a (diff)
downloadffmpeg-8a3f8afa4e46011e9c5849f8e0d57ec9b53deef7.tar.gz
avformat/mov: Set AVSTREAM_PARSE_HEADERS flag for H264
Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mov.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index ca14646a38..bbb45864df 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -2443,6 +2443,8 @@ static int mov_finalize_stsd_codec(MOVContext *c, AVIOContext *pb,
sti->need_parsing = AVSTREAM_PARSE_FULL;
break;
case AV_CODEC_ID_AV1:
+ /* field_order detection of H264 requires parsing */
+ case AV_CODEC_ID_H264:
sti->need_parsing = AVSTREAM_PARSE_HEADERS;
break;
default: