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

ffserver.c:3733:1: start of procedure load_module()
3731. 
3732. #if HAVE_DLOPEN
3733. static void load_module(const char *filename)
      ^
3734. {
3735.     void *dll;

ffserver.c:3737:5: Skipping dlopen(): method has no implementation
3735.     void *dll;
3736.     void (*init_func)(void);
3737.     dll = dlopen(filename, RTLD_NOW);
          ^
3738.     if (!dll) {
3739.         fprintf(stderr, "Could not load module '%s' - %s\n",

ffserver.c:3738:10: Taking false branch
3736.     void (*init_func)(void);
3737.     dll = dlopen(filename, RTLD_NOW);
3738.     if (!dll) {
               ^
3739.         fprintf(stderr, "Could not load module '%s' - %s\n",
3740.                 filename, dlerror());

ffserver.c:3744:5: Skipping dlsym(): method has no implementation
3742.     }
3743. 
3744.     init_func = dlsym(dll, "ffserver_module_init");
          ^
3745.     if (!init_func) {
3746.         fprintf(stderr,

ffserver.c:3745:10: Taking true branch
3743. 
3744.     init_func = dlsym(dll, "ffserver_module_init");
3745.     if (!init_func) {
               ^
3746.         fprintf(stderr,
3747.                 "%s: init function 'ffserver_module_init()' not found\n",

ffserver.c:3746:9: 
3744.     init_func = dlsym(dll, "ffserver_module_init");
3745.     if (!init_func) {
3746.         fprintf(stderr,
              ^
3747.                 "%s: init function 'ffserver_module_init()' not found\n",
3748.                 filename);

ffserver.c:3749:9: Skipping dlclose(): method has no implementation
3747.                 "%s: init function 'ffserver_module_init()' not found\n",
3748.                 filename);
3749.         dlclose(dll);
              ^
3750.     }
3751. 

ffserver.c:3752:5: 
3750.     }
3751. 
3752.     init_func();
          ^
3753. }
3754. #endif
