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

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

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

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

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

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

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

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

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