[FFmpeg-devel] [PATCH] mov: Read multiple stsd from DV

Vittorio Giovara vittorio.giovara at gmail.com
Tue Nov 8 05:32:05 EET 2016


Signed-off-by: Vittorio Giovara <vittorio.giovara at gmail.com>
---
Sorry, I can't share the sample or add a fate for this.
Please CC.
Vittorio

 libavformat/mov.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index e283034..a2a688b 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -2219,6 +2219,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
-- 
2.10.0



More information about the ffmpeg-devel mailing list