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

ffserver.c:3712:1: start of procedure load_module()
3710. 
3711. #ifdef HAVE_DLOPEN
3712. static void load_module(const char *filename)
      ^
3713. {
3714.     void *dll;

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

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

ffserver.c:3723:5: Skipping dlsym(): method has no implementation
3721.     }
3722. 
3723.     init_func = dlsym(dll, "ffserver_module_init");
          ^
3724.     if (!init_func) {
3725.         fprintf(stderr,

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

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

ffserver.c:3728:9: Skipping dlclose(): method has no implementation
3726.                 "%s: init function 'ffserver_module_init()' not found\n",
3727.                 filename);
3728.         dlclose(dll);
              ^
3729.     }
3730. 

ffserver.c:3731:5: 
3729.     }
3730. 
3731.     init_func();
          ^
3732. }
3733. #endif
