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

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

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

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

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

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

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

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

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