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

ffserver.c:3908:1: start of procedure load_module()
3906. 
3907. #if HAVE_DLOPEN
3908. static void load_module(const char *filename)
      ^
3909. {
3910.     void *dll;

ffserver.c:3912:5: Skipping dlopen(): method has no implementation
3910.     void *dll;
3911.     void (*init_func)(void);
3912.     dll = dlopen(filename, RTLD_NOW);
          ^
3913.     if (!dll) {
3914.         fprintf(stderr, "Could not load module '%s' - %s\n",

ffserver.c:3913:10: Taking false branch
3911.     void (*init_func)(void);
3912.     dll = dlopen(filename, RTLD_NOW);
3913.     if (!dll) {
               ^
3914.         fprintf(stderr, "Could not load module '%s' - %s\n",
3915.                 filename, dlerror());

ffserver.c:3919:5: Skipping dlsym(): method has no implementation
3917.     }
3918. 
3919.     init_func = dlsym(dll, "ffserver_module_init");
          ^
3920.     if (!init_func) {
3921.         fprintf(stderr,

ffserver.c:3920:10: Taking true branch
3918. 
3919.     init_func = dlsym(dll, "ffserver_module_init");
3920.     if (!init_func) {
               ^
3921.         fprintf(stderr,
3922.                 "%s: init function 'ffserver_module_init()' not found\n",

ffserver.c:3921:9: 
3919.     init_func = dlsym(dll, "ffserver_module_init");
3920.     if (!init_func) {
3921.         fprintf(stderr,
              ^
3922.                 "%s: init function 'ffserver_module_init()' not found\n",
3923.                 filename);

ffserver.c:3924:9: Skipping dlclose(): method has no implementation
3922.                 "%s: init function 'ffserver_module_init()' not found\n",
3923.                 filename);
3924.         dlclose(dll);
              ^
3925.     }
3926. 

ffserver.c:3927:5: 
3925.     }
3926. 
3927.     init_func();
          ^
3928. }
3929. #endif
