This is AVOptionfor mov mov .
Things in avcodec, avformat etc. can take AVOptionwhen setting them up. You can use av_opt_setto set these parameters. It will be something like:
// Prefixing it with '+' sets the flag
// Prefixing it with '-' unsets the flag
av_opt_set(formatContext, "movflags", "+empty_moov", 0);
source
share