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

ffserver.c:3914:1: start of procedure load_module()
3912. 
3913. #if HAVE_DLOPEN
3914. static void load_module(const char *filename)
      ^
3915. {
3916.     void *dll;

ffserver.c:3918:5: Skipping dlopen(): method has no implementation
3916.     void *dll;
3917.     void (*init_func)(void);
3918.     dll = dlopen(filename, RTLD_NOW);
          ^
3919.     if (!dll) {
3920.         fprintf(stderr, "Could not load module '%s' - %s\n",

ffserver.c:3919:10: Taking false branch
3917.     void (*init_func)(void);
3918.     dll = dlopen(filename, RTLD_NOW);
3919.     if (!dll) {
               ^
3920.         fprintf(stderr, "Could not load module '%s' - %s\n",
3921.                 filename, dlerror());

ffserver.c:3925:5: Skipping dlsym(): method has no implementation
3923.     }
3924. 
3925.     init_func = dlsym(dll, "ffserver_module_init");
          ^
3926.     if (!init_func) {
3927.         fprintf(stderr,

ffserver.c:3926:10: Taking true branch
3924. 
3925.     init_func = dlsym(dll, "ffserver_module_init");
3926.     if (!init_func) {
               ^
3927.         fprintf(stderr,
3928.                 "%s: init function 'ffserver_module_init()' not found\n",

ffserver.c:3927:9: 
3925.     init_func = dlsym(dll, "ffserver_module_init");
3926.     if (!init_func) {
3927.         fprintf(stderr,
              ^
3928.                 "%s: init function 'ffserver_module_init()' not found\n",
3929.                 filename);

ffserver.c:3930:9: Skipping dlclose(): method has no implementation
3928.                 "%s: init function 'ffserver_module_init()' not found\n",
3929.                 filename);
3930.         dlclose(dll);
              ^
3931.     }
3932. 

ffserver.c:3933:5: 
3931.     }
3932. 
3933.     init_func();
          ^
3934. }
3935. #endif
