Adding "avcodec_write_header"