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

ffserver.c:3651:1: start of procedure load_module()
3649. 
3650. #ifdef HAVE_DLOPEN
3651. static void load_module(const char *filename)
      ^
3652. {
3653.     void *dll;

ffserver.c:3655:5: Skipping dlopen(): method has no implementation
3653.     void *dll;
3654.     void (*init_func)(void);
3655.     dll = dlopen(filename, RTLD_NOW);
          ^
3656.     if (!dll) {
3657.         fprintf(stderr, "Could not load module '%s' - %s\n",

ffserver.c:3656:10: Taking false branch
3654.     void (*init_func)(void);
3655.     dll = dlopen(filename, RTLD_NOW);
3656.     if (!dll) {
               ^
3657.         fprintf(stderr, "Could not load module '%s' - %s\n",
3658.                 filename, dlerror());

ffserver.c:3662:5: Skipping dlsym(): method has no implementation
3660.     }
3661. 
3662.     init_func = dlsym(dll, "ffserver_module_init");
          ^
3663.     if (!init_func) {
3664.         fprintf(stderr,

ffserver.c:3663:10: Taking true branch
3661. 
3662.     init_func = dlsym(dll, "ffserver_module_init");
3663.     if (!init_func) {
               ^
3664.         fprintf(stderr,
3665.                 "%s: init function 'ffserver_module_init()' not found\n",

ffserver.c:3664:9: 
3662.     init_func = dlsym(dll, "ffserver_module_init");
3663.     if (!init_func) {
3664.         fprintf(stderr,
              ^
3665.                 "%s: init function 'ffserver_module_init()' not found\n",
3666.                 filename);

ffserver.c:3667:9: Skipping dlclose(): method has no implementation
3665.                 "%s: init function 'ffserver_module_init()' not found\n",
3666.                 filename);
3667.         dlclose(dll);
              ^
3668.     }
3669. 

ffserver.c:3670:5: 
3668.     }
3669. 
3670.     init_func();
          ^
3671. }
3672. #endif
