diff options
author | Nicolas Gaullier <nicolas.gaullier@cji.paris> | 2021-09-10 11:34:10 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-09-23 10:35:09 -0300 |
commit | 8a3f8afa4e46011e9c5849f8e0d57ec9b53deef7 (patch) | |
tree | a055943199f49cdf3dcda8354f98fd0c22f7d5e6 /libavformat | |
parent | daf04868d8a20d25d5fc664e26137ddfabd4d40a (diff) | |
download | ffmpeg-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.c | 2 |
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: |