]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/movenc.c
movenc: Don't check the custom IO flag when using faststart
[ffmpeg] / libavformat / movenc.c
index 43b03c5325a0f2c91527206e74db31a0dbd84c4c..ccd310cb03ec2b2afe6998f4f81eb5d2affbf41c 100644 (file)
@@ -3437,10 +3437,9 @@ static int mov_write_header(AVFormatContext *s)
 
     /* faststart: moov at the beginning of the file, if supported */
     if (mov->flags & FF_MOV_FLAG_FASTSTART) {
-        if ((mov->flags & FF_MOV_FLAG_FRAGMENT) ||
-            (s->flags & AVFMT_FLAG_CUSTOM_IO)) {
+        if (mov->flags & FF_MOV_FLAG_FRAGMENT) {
             av_log(s, AV_LOG_WARNING, "The faststart flag is incompatible "
-                   "with fragmentation and custom IO, disabling faststart\n");
+                   "with fragmentation, disabling faststart\n");
             mov->flags &= ~FF_MOV_FLAG_FASTSTART;
         }
     }