diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 3f5a6aee7e..fe5f5ed6ce 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -3089,7 +3089,7 @@ static int mov_flush_fragment(AVFormatContext *s) if (!(mov->flags & FF_MOV_FLAG_FRAGMENT)) return 0; - if (!(mov->flags & FF_MOV_FLAG_EMPTY_MOOV) && mov->fragments == 0) { + if (mov->fragments == 0) { int64_t pos = avio_tell(s->pb); int ret; AVIOContext *moov_buf;