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

ffserver.c:3923:1: start of procedure load_module()
3921. 
3922. #if HAVE_DLOPEN
3923. static void load_module(const char *filename)
      ^
3924. {
3925.     void *dll;

ffserver.c:3927:5: Skipping dlopen(): method has no implementation
3925.     void *dll;
3926.     void (*init_func)(void);
3927.     dll = dlopen(filename, RTLD_NOW);
          ^
3928.     if (!dll) {
3929.         fprintf(stderr, "Could not load module '%s' - %s\n",

ffserver.c:3928:10: Taking false branch
3926.     void (*init_func)(void);
3927.     dll = dlopen(filename, RTLD_NOW);
3928.     if (!dll) {
               ^
3929.         fprintf(stderr, "Could not load module '%s' - %s\n",
3930.                 filename, dlerror());

ffserver.c:3934:5: Skipping dlsym(): method has no implementation
3932.     }
3933. 
3934.     init_func = dlsym(dll, "ffserver_module_init");
          ^
3935.     if (!init_func) {
3936.         fprintf(stderr,

ffserver.c:3935:10: Taking true branch
3933. 
3934.     init_func = dlsym(dll, "ffserver_module_init");
3935.     if (!init_func) {
               ^
3936.         fprintf(stderr,
3937.                 "%s: init function 'ffserver_module_init()' not found\n",

ffserver.c:3936:9: 
3934.     init_func = dlsym(dll, "ffserver_module_init");
3935.     if (!init_func) {
3936.         fprintf(stderr,
              ^
3937.                 "%s: init function 'ffserver_module_init()' not found\n",
3938.                 filename);

ffserver.c:3939:9: Skipping dlclose(): method has no implementation
3937.                 "%s: init function 'ffserver_module_init()' not found\n",
3938.                 filename);
3939.         dlclose(dll);
              ^
3940.     }
3941. 

ffserver.c:3942:5: 
3940.     }
3941. 
3942.     init_func();
          ^
3943. }
3944. #endif
