use same libavformat version on pre compile directives
let nginx control when the connection should be closed after send the image data