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

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

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

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

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

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

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

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

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