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

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

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

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

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

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

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

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

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