Commit 35433649 authored by Matthieu Bouron's avatar Matthieu Bouron

Merge commit '846a3e78'

* commit '846a3e78':
  mov: Support prores with multiple stsd
Merged-by: 's avatarMatthieu Bouron <matthieu.bouron@stupeflix.com>
parents 3c058f57 846a3e78
......@@ -2205,6 +2205,8 @@ static int mov_skip_multiple_stsd(MOVContext *c, AVIOContext *pb,
if (codec_tag &&
(codec_tag != format &&
// prores is allowed to have differing data format and codec tag
codec_tag != AV_RL32("apcn") && codec_tag != AV_RL32("apch") &&
(c->fc->video_codec_id ? video_codec_id != c->fc->video_codec_id
: codec_tag != MKTAG('j','p','e','g')))) {
/* Multiple fourcc, we skip JPEG. This is not correct, we should
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment