csrc/cffmpeg.cpp
@@ -50,6 +50,10 @@ //////passive api void c_ffmpeg_open_recorder(const cffmpeg h){ Wrapper *s = (Wrapper*)h; s->OpenRecorder(); } void c_ffmpeg_set_record_duration(const cffmpeg h, const int min, const int max){ Wrapper *s = (Wrapper*)h; s->SetRecMinCacheTime(min); @@ -92,7 +96,7 @@ void c_ffmpeg_build_decoder(const cffmpeg h){ Wrapper *s = (Wrapper*)h; s->BuildDecoder(); s->OpenDecoder(); } void* c_ffmpeg_get_pic_decoder(const cffmpeg h, int *wid, int *hei, int *format, int *length, int64_t *id){