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

ffserver.c:3708:1: start of procedure load_module()
3706. 
3707. #ifdef HAVE_DLOPEN
3708. static void load_module(const char *filename)
      ^
3709. {
3710.     void *dll;

ffserver.c:3712:5: Skipping dlopen(): method has no implementation
3710.     void *dll;
3711.     void (*init_func)(void);
3712.     dll = dlopen(filename, RTLD_NOW);
          ^
3713.     if (!dll) {
3714.         fprintf(stderr, "Could not load module '%s' - %s\n",

ffserver.c:3713:10: Taking false branch
3711.     void (*init_func)(void);
3712.     dll = dlopen(filename, RTLD_NOW);
3713.     if (!dll) {
               ^
3714.         fprintf(stderr, "Could not load module '%s' - %s\n",
3715.                 filename, dlerror());

ffserver.c:3719:5: Skipping dlsym(): method has no implementation
3717.     }
3718. 
3719.     init_func = dlsym(dll, "ffserver_module_init");
          ^
3720.     if (!init_func) {
3721.         fprintf(stderr,

ffserver.c:3720:10: Taking true branch
3718. 
3719.     init_func = dlsym(dll, "ffserver_module_init");
3720.     if (!init_func) {
               ^
3721.         fprintf(stderr,
3722.                 "%s: init function 'ffserver_module_init()' not found\n",

ffserver.c:3721:9: 
3719.     init_func = dlsym(dll, "ffserver_module_init");
3720.     if (!init_func) {
3721.         fprintf(stderr,
              ^
3722.                 "%s: init function 'ffserver_module_init()' not found\n",
3723.                 filename);

ffserver.c:3724:9: Skipping dlclose(): method has no implementation
3722.                 "%s: init function 'ffserver_module_init()' not found\n",
3723.                 filename);
3724.         dlclose(dll);
              ^
3725.     }
3726. 

ffserver.c:3727:5: 
3725.     }
3726. 
3727.     init_func();
          ^
3728. }
3729. #endif
