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

ffserver.c:3701:1: start of procedure load_module()
3699. 
3700. #if HAVE_DLOPEN
3701. static void load_module(const char *filename)
      ^
3702. {
3703.     void *dll;

ffserver.c:3705:5: Skipping dlopen(): method has no implementation
3703.     void *dll;
3704.     void (*init_func)(void);
3705.     dll = dlopen(filename, RTLD_NOW);
          ^
3706.     if (!dll) {
3707.         fprintf(stderr, "Could not load module '%s' - %s\n",

ffserver.c:3706:10: Taking false branch
3704.     void (*init_func)(void);
3705.     dll = dlopen(filename, RTLD_NOW);
3706.     if (!dll) {
               ^
3707.         fprintf(stderr, "Could not load module '%s' - %s\n",
3708.                 filename, dlerror());

ffserver.c:3712:5: Skipping dlsym(): method has no implementation
3710.     }
3711. 
3712.     init_func = dlsym(dll, "ffserver_module_init");
          ^
3713.     if (!init_func) {
3714.         fprintf(stderr,

ffserver.c:3713:10: Taking true branch
3711. 
3712.     init_func = dlsym(dll, "ffserver_module_init");
3713.     if (!init_func) {
               ^
3714.         fprintf(stderr,
3715.                 "%s: init function 'ffserver_module_init()' not found\n",

ffserver.c:3714:9: 
3712.     init_func = dlsym(dll, "ffserver_module_init");
3713.     if (!init_func) {
3714.         fprintf(stderr,
              ^
3715.                 "%s: init function 'ffserver_module_init()' not found\n",
3716.                 filename);

ffserver.c:3717:9: Skipping dlclose(): method has no implementation
3715.                 "%s: init function 'ffserver_module_init()' not found\n",
3716.                 filename);
3717.         dlclose(dll);
              ^
3718.     }
3719. 

ffserver.c:3720:5: 
3718.     }
3719. 
3720.     init_func();
          ^
3721. }
3722. #endif
