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

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

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

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

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

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

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

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

ffserver.c:3939:5: 
3937.     }
3938. 
3939.     init_func();
          ^
3940. }
3941. #endif
