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

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

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

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

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

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

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

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

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