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

ffserver.c:3705:1: start of procedure load_module()
3703. 
3704. #ifdef HAVE_DLOPEN
3705. static void load_module(const char *filename)
      ^
3706. {
3707.     void *dll;

ffserver.c:3709:5: Skipping dlopen(): method has no implementation
3707.     void *dll;
3708.     void (*init_func)(void);
3709.     dll = dlopen(filename, RTLD_NOW);
          ^
3710.     if (!dll) {
3711.         fprintf(stderr, "Could not load module '%s' - %s\n",

ffserver.c:3710:10: Taking false branch
3708.     void (*init_func)(void);
3709.     dll = dlopen(filename, RTLD_NOW);
3710.     if (!dll) {
               ^
3711.         fprintf(stderr, "Could not load module '%s' - %s\n",
3712.                 filename, dlerror());

ffserver.c:3716:5: Skipping dlsym(): method has no implementation
3714.     }
3715. 
3716.     init_func = dlsym(dll, "ffserver_module_init");
          ^
3717.     if (!init_func) {
3718.         fprintf(stderr,

ffserver.c:3717:10: Taking true branch
3715. 
3716.     init_func = dlsym(dll, "ffserver_module_init");
3717.     if (!init_func) {
               ^
3718.         fprintf(stderr,
3719.                 "%s: init function 'ffserver_module_init()' not found\n",

ffserver.c:3718:9: 
3716.     init_func = dlsym(dll, "ffserver_module_init");
3717.     if (!init_func) {
3718.         fprintf(stderr,
              ^
3719.                 "%s: init function 'ffserver_module_init()' not found\n",
3720.                 filename);

ffserver.c:3721:9: Skipping dlclose(): method has no implementation
3719.                 "%s: init function 'ffserver_module_init()' not found\n",
3720.                 filename);
3721.         dlclose(dll);
              ^
3722.     }
3723. 

ffserver.c:3724:5: 
3722.     }
3723. 
3724.     init_func();
          ^
3725. }
3726. #endif
