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

ffserver.c:3929:1: start of procedure load_module()
3927. 
3928. #if HAVE_DLOPEN
3929. static void load_module(const char *filename)
      ^
3930. {
3931.     void *dll;

ffserver.c:3933:5: Skipping dlopen(): method has no implementation
3931.     void *dll;
3932.     void (*init_func)(void);
3933.     dll = dlopen(filename, RTLD_NOW);
          ^
3934.     if (!dll) {
3935.         fprintf(stderr, "Could not load module '%s' - %s\n",

ffserver.c:3934:10: Taking false branch
3932.     void (*init_func)(void);
3933.     dll = dlopen(filename, RTLD_NOW);
3934.     if (!dll) {
               ^
3935.         fprintf(stderr, "Could not load module '%s' - %s\n",
3936.                 filename, dlerror());

ffserver.c:3940:5: Skipping dlsym(): method has no implementation
3938.     }
3939. 
3940.     init_func = dlsym(dll, "ffserver_module_init");
          ^
3941.     if (!init_func) {
3942.         fprintf(stderr,

ffserver.c:3941:10: Taking true branch
3939. 
3940.     init_func = dlsym(dll, "ffserver_module_init");
3941.     if (!init_func) {
               ^
3942.         fprintf(stderr,
3943.                 "%s: init function 'ffserver_module_init()' not found\n",

ffserver.c:3942:9: 
3940.     init_func = dlsym(dll, "ffserver_module_init");
3941.     if (!init_func) {
3942.         fprintf(stderr,
              ^
3943.                 "%s: init function 'ffserver_module_init()' not found\n",
3944.                 filename);

ffserver.c:3945:9: Skipping dlclose(): method has no implementation
3943.                 "%s: init function 'ffserver_module_init()' not found\n",
3944.                 filename);
3945.         dlclose(dll);
              ^
3946.     }
3947. 

ffserver.c:3948:5: 
3946.     }
3947. 
3948.     init_func();
          ^
3949. }
3950. #endif
