fprintf(stderr, "Video hooking not compiled into this version\n");
av_log(NULL, AV_LOG_ERROR, "Video hooking not compiled into this version\n");
int frame_hook_add(int argc, char *argv[]){#ifdef HAVE_VHOOK    void *loaded;    FrameHookEntry *fhe, **fhep;    if (argc < 1) {        return ENOENT;    }    loaded = dlopen(argv[0], RTLD_NOW);    if (!loaded) {        fprintf(stderr, "%s\n", dlerror());        return -1;    }    fhe = av_mallocz(sizeof(*fhe));    if (!fhe) {        return errno;    }    fhe->Configure = dlsym(loaded, "Configure");    fhe->Process = dlsym(loaded, "Process");    fhe->Release = dlsym(loaded, "Release");    /* Optional */    if (!fhe->Process) {        fprintf(stderr, "Failed to find Process entrypoint in %s\n", argv[0]);        return -1;    }    if (!fhe->Configure && argc > 1) {        fprintf(stderr, "Failed to find Configure entrypoint in %s\n", argv[0]);        return -1;    }    if (argc > 1 || fhe->Configure) {        if (fhe->Configure(&fhe->ctx, argc, argv)) {            fprintf(stderr, "Failed to Configure %s\n", argv[0]);            return -1;        }    }    for (fhep = &first_hook; *fhep; fhep = &((*fhep)->next)) {    }    *fhep = fhe;    return 0;#else    fprintf(stderr, "Video hooking not compiled into this version\n");    return 1;#endif}