libcffmpeg.c
@@ -177,6 +177,13 @@ } return fn_get_avpacket2(h, data, size, key); } void wrap_fn_release_buf(void *lib, void *buf){ if (!fn_release_buf){ fn_release_buf = (lib_cffmpeg_release_buf)dlsym(lib, "c_ffmpeg_release_buf"); } if (fn_release_buf) fn_release_buf(buf); } // for encoder cencoder wrap_fn_create_encoder(void *lib, const int w, const int h, const int fps, const int br, const int pix_fmt, const int scale_flag, const int gi){ if (!fn_create_encoder){