From aae6b3b918b4133b8cc2d1631196c1d406d0351a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20Storsj=C3=B6?= <martin@martin.st>
Date: Wed, 29 Oct 2014 22:55:23 +0200
Subject: [PATCH] movenc: Don't write any iso brands in ismv files
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

We deviate slightly from the iso specs for these files.

Signed-off-by: Martin Storsjö <martin@martin.st>
---
 libavformat/movenc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index d79607b3b86..80a44cf1866 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -2748,8 +2748,6 @@ static int mov_write_ftyp_tag(AVIOContext *pb, AVFormatContext *s)
         ffio_wfourcc(pb, "qt  ");
     else if (mov->mode == MODE_ISM) {
         ffio_wfourcc(pb, "piff");
-        if (!(mov->flags & FF_MOV_FLAG_DEFAULT_BASE_MOOF))
-            ffio_wfourcc(pb, "iso2");
     } else if (!(mov->flags & FF_MOV_FLAG_DEFAULT_BASE_MOOF)) {
         ffio_wfourcc(pb, "isom");
         ffio_wfourcc(pb, "iso2");
-- 
GitLab