Initialize libav before enabling kqueue monitor, missed in b2613161329.

This commit is contained in:
Gleb Smirnoff 2017-12-29 15:52:47 -08:00 committed by Justin Maggard
parent d02866a084
commit 4db229534b

View File

@ -1285,6 +1285,7 @@ main(int argc, char **argv)
if (_get_dbtime() != lastdbtime) if (_get_dbtime() != lastdbtime)
updateID++; updateID++;
#ifdef HAVE_KQUEUE #ifdef HAVE_KQUEUE
av_register_all();
kqueue_monitor_start(); kqueue_monitor_start();
#endif /* HAVE_KQUEUE */ #endif /* HAVE_KQUEUE */
} }