[FFmpeg-devel] [PATCH] movenc: Don't require a global sidx box to write the dash brand

Derek Buitenhuis derek.buitenhuis at gmail.com
Wed Sep 23 15:02:12 CEST 2015


There's no reason this should be required.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis at 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 af03d1e..10cd044 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -3906,7 +3906,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



More information about the ffmpeg-devel mailing list