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

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

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

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

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

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

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

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

ffserver.c:3747:5: 
3745.     }
3746. 
3747.     init_func();
          ^
3748. }
3749. #endif
