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

ffserver.c:3932:1: start of procedure load_module()
3930. 
3931. #if HAVE_DLOPEN
3932. static void load_module(const char *filename)
      ^
3933. {
3934.     void *dll;

ffserver.c:3936:5: Skipping dlopen(): method has no implementation
3934.     void *dll;
3935.     void (*init_func)(void);
3936.     dll = dlopen(filename, RTLD_NOW);
          ^
3937.     if (!dll) {
3938.         fprintf(stderr, "Could not load module '%s' - %s\n",

ffserver.c:3937:10: Taking false branch
3935.     void (*init_func)(void);
3936.     dll = dlopen(filename, RTLD_NOW);
3937.     if (!dll) {
               ^
3938.         fprintf(stderr, "Could not load module '%s' - %s\n",
3939.                 filename, dlerror());

ffserver.c:3943:5: Skipping dlsym(): method has no implementation
3941.     }
3942. 
3943.     init_func = dlsym(dll, "ffserver_module_init");
          ^
3944.     if (!init_func) {
3945.         fprintf(stderr,

ffserver.c:3944:10: Taking true branch
3942. 
3943.     init_func = dlsym(dll, "ffserver_module_init");
3944.     if (!init_func) {
               ^
3945.         fprintf(stderr,
3946.                 "%s: init function 'ffserver_module_init()' not found\n",

ffserver.c:3945:9: 
3943.     init_func = dlsym(dll, "ffserver_module_init");
3944.     if (!init_func) {
3945.         fprintf(stderr,
              ^
3946.                 "%s: init function 'ffserver_module_init()' not found\n",
3947.                 filename);

ffserver.c:3948:9: Skipping dlclose(): method has no implementation
3946.                 "%s: init function 'ffserver_module_init()' not found\n",
3947.                 filename);
3948.         dlclose(dll);
              ^
3949.     }
3950. 

ffserver.c:3951:5: 
3949.     }
3950. 
3951.     init_func();
          ^
3952. }
3953. #endif
