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

ffserver.c:3764:1: start of procedure load_module()
3762. 
3763. #if HAVE_DLOPEN
3764. static void load_module(const char *filename)
      ^
3765. {
3766.     void *dll;

ffserver.c:3768:5: Skipping dlopen(): method has no implementation
3766.     void *dll;
3767.     void (*init_func)(void);
3768.     dll = dlopen(filename, RTLD_NOW);
          ^
3769.     if (!dll) {
3770.         fprintf(stderr, "Could not load module '%s' - %s\n",

ffserver.c:3769:10: Taking false branch
3767.     void (*init_func)(void);
3768.     dll = dlopen(filename, RTLD_NOW);
3769.     if (!dll) {
               ^
3770.         fprintf(stderr, "Could not load module '%s' - %s\n",
3771.                 filename, dlerror());

ffserver.c:3775:5: Skipping dlsym(): method has no implementation
3773.     }
3774. 
3775.     init_func = dlsym(dll, "ffserver_module_init");
          ^
3776.     if (!init_func) {
3777.         fprintf(stderr,

ffserver.c:3776:10: Taking true branch
3774. 
3775.     init_func = dlsym(dll, "ffserver_module_init");
3776.     if (!init_func) {
               ^
3777.         fprintf(stderr,
3778.                 "%s: init function 'ffserver_module_init()' not found\n",

ffserver.c:3777:9: 
3775.     init_func = dlsym(dll, "ffserver_module_init");
3776.     if (!init_func) {
3777.         fprintf(stderr,
              ^
3778.                 "%s: init function 'ffserver_module_init()' not found\n",
3779.                 filename);

ffserver.c:3780:9: Skipping dlclose(): method has no implementation
3778.                 "%s: init function 'ffserver_module_init()' not found\n",
3779.                 filename);
3780.         dlclose(dll);
              ^
3781.     }
3782. 

ffserver.c:3783:5: 
3781.     }
3782. 
3783.     init_func();
          ^
3784. }
3785. #endif
