1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

lavf/mov: Accept multiple fourcc for AVID 1:1.

Fixes ticket #5982.
This commit is contained in:
Carl Eugen Hoyos
2016-12-12 12:26:21 +01:00
parent 9d068896d3
commit 62eafc6a6d

View File

@@ -2220,6 +2220,8 @@ static int mov_skip_multiple_stsd(MOVContext *c, AVIOContext *pb,
if (codec_tag && if (codec_tag &&
(codec_tag != format && (codec_tag != format &&
// AVID 1:1 samples with differing data format and codec tag exist
(codec_tag != AV_RL32("AV1x") || format != AV_RL32("AVup")) &&
// prores is allowed to have differing data format and codec tag // prores is allowed to have differing data format and codec tag
codec_tag != AV_RL32("apcn") && codec_tag != AV_RL32("apch") && codec_tag != AV_RL32("apcn") && codec_tag != AV_RL32("apch") &&
// so is dv (sigh) // so is dv (sigh)