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

ffserver.c:3753:1: start of procedure load_module()
3751. 
3752. #if HAVE_DLOPEN
3753. static void load_module(const char *filename)
      ^
3754. {
3755.     void *dll;

ffserver.c:3757:5: Skipping dlopen(): method has no implementation
3755.     void *dll;
3756.     void (*init_func)(void);
3757.     dll = dlopen(filename, RTLD_NOW);
          ^
3758.     if (!dll) {
3759.         fprintf(stderr, "Could not load module '%s' - %s\n",

ffserver.c:3758:10: Taking false branch
3756.     void (*init_func)(void);
3757.     dll = dlopen(filename, RTLD_NOW);
3758.     if (!dll) {
               ^
3759.         fprintf(stderr, "Could not load module '%s' - %s\n",
3760.                 filename, dlerror());

ffserver.c:3764:5: Skipping dlsym(): method has no implementation
3762.     }
3763. 
3764.     init_func = dlsym(dll, "ffserver_module_init");
          ^
3765.     if (!init_func) {
3766.         fprintf(stderr,

ffserver.c:3765:10: Taking true branch
3763. 
3764.     init_func = dlsym(dll, "ffserver_module_init");
3765.     if (!init_func) {
               ^
3766.         fprintf(stderr,
3767.                 "%s: init function 'ffserver_module_init()' not found\n",

ffserver.c:3766:9: 
3764.     init_func = dlsym(dll, "ffserver_module_init");
3765.     if (!init_func) {
3766.         fprintf(stderr,
              ^
3767.                 "%s: init function 'ffserver_module_init()' not found\n",
3768.                 filename);

ffserver.c:3769:9: Skipping dlclose(): method has no implementation
3767.                 "%s: init function 'ffserver_module_init()' not found\n",
3768.                 filename);
3769.         dlclose(dll);
              ^
3770.     }
3771. 

ffserver.c:3772:5: 
3770.     }
3771. 
3772.     init_func();
          ^
3773. }
3774. #endif
