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

ffserver.c:3718:1: start of procedure load_module()
3716. 
3717. #if HAVE_DLOPEN
3718. static void load_module(const char *filename)
      ^
3719. {
3720.     void *dll;

ffserver.c:3722:5: Skipping dlopen(): method has no implementation
3720.     void *dll;
3721.     void (*init_func)(void);
3722.     dll = dlopen(filename, RTLD_NOW);
          ^
3723.     if (!dll) {
3724.         fprintf(stderr, "Could not load module '%s' - %s\n",

ffserver.c:3723:10: Taking false branch
3721.     void (*init_func)(void);
3722.     dll = dlopen(filename, RTLD_NOW);
3723.     if (!dll) {
               ^
3724.         fprintf(stderr, "Could not load module '%s' - %s\n",
3725.                 filename, dlerror());

ffserver.c:3729:5: Skipping dlsym(): method has no implementation
3727.     }
3728. 
3729.     init_func = dlsym(dll, "ffserver_module_init");
          ^
3730.     if (!init_func) {
3731.         fprintf(stderr,

ffserver.c:3730:10: Taking true branch
3728. 
3729.     init_func = dlsym(dll, "ffserver_module_init");
3730.     if (!init_func) {
               ^
3731.         fprintf(stderr,
3732.                 "%s: init function 'ffserver_module_init()' not found\n",

ffserver.c:3731:9: 
3729.     init_func = dlsym(dll, "ffserver_module_init");
3730.     if (!init_func) {
3731.         fprintf(stderr,
              ^
3732.                 "%s: init function 'ffserver_module_init()' not found\n",
3733.                 filename);

ffserver.c:3734:9: Skipping dlclose(): method has no implementation
3732.                 "%s: init function 'ffserver_module_init()' not found\n",
3733.                 filename);
3734.         dlclose(dll);
              ^
3735.     }
3736. 

ffserver.c:3737:5: 
3735.     }
3736. 
3737.     init_func();
          ^
3738. }
3739. #endif
