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

ffserver.c:3900:1: start of procedure load_module()
3898. 
3899. #if HAVE_DLOPEN
3900. static void load_module(const char *filename)
      ^
3901. {
3902.     void *dll;

ffserver.c:3904:5: Skipping dlopen(): method has no implementation
3902.     void *dll;
3903.     void (*init_func)(void);
3904.     dll = dlopen(filename, RTLD_NOW);
          ^
3905.     if (!dll) {
3906.         fprintf(stderr, "Could not load module '%s' - %s\n",

ffserver.c:3905:10: Taking false branch
3903.     void (*init_func)(void);
3904.     dll = dlopen(filename, RTLD_NOW);
3905.     if (!dll) {
               ^
3906.         fprintf(stderr, "Could not load module '%s' - %s\n",
3907.                 filename, dlerror());

ffserver.c:3911:5: Skipping dlsym(): method has no implementation
3909.     }
3910. 
3911.     init_func = dlsym(dll, "ffserver_module_init");
          ^
3912.     if (!init_func) {
3913.         fprintf(stderr,

ffserver.c:3912:10: Taking true branch
3910. 
3911.     init_func = dlsym(dll, "ffserver_module_init");
3912.     if (!init_func) {
               ^
3913.         fprintf(stderr,
3914.                 "%s: init function 'ffserver_module_init()' not found\n",

ffserver.c:3913:9: 
3911.     init_func = dlsym(dll, "ffserver_module_init");
3912.     if (!init_func) {
3913.         fprintf(stderr,
              ^
3914.                 "%s: init function 'ffserver_module_init()' not found\n",
3915.                 filename);

ffserver.c:3916:9: Skipping dlclose(): method has no implementation
3914.                 "%s: init function 'ffserver_module_init()' not found\n",
3915.                 filename);
3916.         dlclose(dll);
              ^
3917.     }
3918. 

ffserver.c:3919:5: 
3917.     }
3918. 
3919.     init_func();
          ^
3920. }
3921. #endif
