ffserver.c:3744: error: Null Dereference
  pointer `init_func` last assigned on line 3736 could be null and is dereferenced at line 3744, column 5.

ffserver.c:3725:1: start of procedure load_module()
3723. 
3724. #if HAVE_DLOPEN
3725. static void load_module(const char *filename)
      ^
3726. {
3727.     void *dll;

ffserver.c:3729:5: Skipping dlopen(): method has no implementation
3727.     void *dll;
3728.     void (*init_func)(void);
3729.     dll = dlopen(filename, RTLD_NOW);
          ^
3730.     if (!dll) {
3731.         fprintf(stderr, "Could not load module '%s' - %s\n",

ffserver.c:3730:10: Taking false branch
3728.     void (*init_func)(void);
3729.     dll = dlopen(filename, RTLD_NOW);
3730.     if (!dll) {
               ^
3731.         fprintf(stderr, "Could not load module '%s' - %s\n",
3732.                 filename, dlerror());

ffserver.c:3736:5: Skipping dlsym(): method has no implementation
3734.     }
3735. 
3736.     init_func = dlsym(dll, "ffserver_module_init");
          ^
3737.     if (!init_func) {
3738.         fprintf(stderr,

ffserver.c:3737:10: Taking true branch
3735. 
3736.     init_func = dlsym(dll, "ffserver_module_init");
3737.     if (!init_func) {
               ^
3738.         fprintf(stderr,
3739.                 "%s: init function 'ffserver_module_init()' not found\n",

ffserver.c:3738:9: 
3736.     init_func = dlsym(dll, "ffserver_module_init");
3737.     if (!init_func) {
3738.         fprintf(stderr,
              ^
3739.                 "%s: init function 'ffserver_module_init()' not found\n",
3740.                 filename);

ffserver.c:3741:9: Skipping dlclose(): method has no implementation
3739.                 "%s: init function 'ffserver_module_init()' not found\n",
3740.                 filename);
3741.         dlclose(dll);
              ^
3742.     }
3743. 

ffserver.c:3744:5: 
3742.     }
3743. 
3744.     init_func();
          ^
3745. }
3746. #endif
