Skip to content

Commit

Permalink
mov: Read multiple stsd from DV
Browse files Browse the repository at this point in the history
Signed-off-by: Vittorio Giovara <[email protected]>
  • Loading branch information
kodawah committed Nov 8, 2016
1 parent 47a7957 commit de6e2ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libavformat/mov.c
Original file line number Diff line number Diff line change
Expand Up @@ -1783,6 +1783,8 @@ static int mov_skip_multiple_stsd(MOVContext *c, AVIOContext *pb,
(codec_tag != format &&
// prores is allowed to have differing data format and codec tag
codec_tag != AV_RL32("apcn") && codec_tag != AV_RL32("apch") &&
// so is dv (sigh)
codec_tag != AV_RL32("dvpp") && codec_tag != AV_RL32("dvcp") &&
(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
Expand Down

0 comments on commit de6e2ff

Please sign in to comment.