On Wed, 23 Sep 2015, Derek Buitenhuis wrote:

There's no reason this should be required.

Signed-off-by: Derek Buitenhuis <derek.buitenh...@gmail.com>
---
As far as I know, anyway.
---
libavformat/movenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index ee2f089..90857e3 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -2977,7 +2977,7 @@ static int mov_write_ftyp_tag(AVIOContext *pb, 
AVFormatContext *s)
    else if (mov->mode == MODE_MP4)
        ffio_wfourcc(pb, "mp41");

-    if (mov->flags & FF_MOV_FLAG_DASH && mov->flags & FF_MOV_FLAG_GLOBAL_SIDX)
+    if (mov->flags & FF_MOV_FLAG_DASH)
        ffio_wfourcc(pb, "dash");

    return update_size(pb, pos);
--
1.8.3.1

Ok with me. (The original cause of this code is that I originally tried to mimic different files for different usecases produced by other software, and the m4s init segments I looked at lacked this brand. But I do agree that it probably should be added.)

// Martin
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to