Link in libavdevice, call avdevice_register_all at retro_init