| | |
| | | release_if_err(fn_fire_recorder, lib); |
| | | fn_info_recorder = (lib_cffmpeg_info_recorder)dlsym(lib, "c_ffmpeg_get_info_recorder"); |
| | | release_if_err(fn_info_recorder, lib); |
| | | fn_rec_id = (lib_cffmpeg_rec_id)dlsym(lib, "c_ffmpeg_get_rec_id"); |
| | | release_if_err(fn_rec_id, lib); |
| | | fn_decoder = (lib_cffmpeg_decoder)dlsym(lib, "c_ffmpeg_build_decoder"); |
| | | release_if_err(fn_decoder, lib); |
| | | fn_decoder_pic = (lib_cffmpeg_pic)dlsym(lib, "c_ffmpeg_get_pic_decoder"); |
| | |
| | | fn_fire_recorder(h, sid, id); |
| | | } |
| | | |
| | | char* wrap_fn_info_recorder(const cffmpeg h, char **sid, int* index, int* length){ |
| | | return fn_info_recorder(h, sid, index, length); |
| | | char* wrap_fn_info_recorder(const cffmpeg h, int* index, int* length){ |
| | | return fn_info_recorder(h, index, length); |
| | | } |
| | | |
| | | char* wrap_fn_rec_id(const cffmpeg h, const char* path, int*length){ |
| | | return fn_rec_id(h, path, length); |
| | | } |
| | | |
| | | void wrap_fn_decoder(const cffmpeg h){ |