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

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

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

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

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

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

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

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

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