csrc/cffmpeg.cpp
@@ -134,6 +134,12 @@ return s->GetPacket(data, size, key); } void c_ffmpeg_release_buf(void* buf){ if (buf){ free(buf); } } // pic encoder void *c_ffmpeg_create_encoder(const int w, const int h, const int fps, const int br, const int pix_fmt, const int scale_flag, const int gi){ return CreateEncoder(w, h, fps, br, pix_fmt, scale_flag, gi);