added HAVE_AV_CONFIG_H