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

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

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

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

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

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

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

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

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