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

ffserver.c:3936:1: start of procedure load_module()
3934. 
3935. #if HAVE_DLOPEN
3936. static void load_module(const char *filename)
      ^
3937. {
3938.     void *dll;

ffserver.c:3940:5: Skipping dlopen(): method has no implementation
3938.     void *dll;
3939.     void (*init_func)(void);
3940.     dll = dlopen(filename, RTLD_NOW);
          ^
3941.     if (!dll) {
3942.         fprintf(stderr, "Could not load module '%s' - %s\n",

ffserver.c:3941:10: Taking false branch
3939.     void (*init_func)(void);
3940.     dll = dlopen(filename, RTLD_NOW);
3941.     if (!dll) {
               ^
3942.         fprintf(stderr, "Could not load module '%s' - %s\n",
3943.                 filename, dlerror());

ffserver.c:3947:5: Skipping dlsym(): method has no implementation
3945.     }
3946. 
3947.     init_func = dlsym(dll, "ffserver_module_init");
          ^
3948.     if (!init_func) {
3949.         fprintf(stderr,

ffserver.c:3948:10: Taking true branch
3946. 
3947.     init_func = dlsym(dll, "ffserver_module_init");
3948.     if (!init_func) {
               ^
3949.         fprintf(stderr,
3950.                 "%s: init function 'ffserver_module_init()' not found\n",

ffserver.c:3949:9: 
3947.     init_func = dlsym(dll, "ffserver_module_init");
3948.     if (!init_func) {
3949.         fprintf(stderr,
              ^
3950.                 "%s: init function 'ffserver_module_init()' not found\n",
3951.                 filename);

ffserver.c:3952:9: Skipping dlclose(): method has no implementation
3950.                 "%s: init function 'ffserver_module_init()' not found\n",
3951.                 filename);
3952.         dlclose(dll);
              ^
3953.     }
3954. 

ffserver.c:3955:5: 
3953.     }
3954. 
3955.     init_func();
          ^
3956. }
3957. #endif
